def split_datetime(dataframe):
    """ Split the date-time feature of a dataset into date and hour

        Parameters
        ----------
            dataframe : dataframe, shape(n_samples, 64), the full dataset

        Returns
        -------
            dataframe : the dataframe with the date-time feature split into date and hour
    """
    labels = dataframe[['ATT_FLAG', 'ATT_T1', 'ATT_T2', 'ATT_T3', 'ATT_T4', 'ATT_T5', 
                        'ATT_T6', 'ATT_T7','ATT_PU1', 'ATT_PU2', 'ATT_PU3', 'ATT_PU4', 
                        'ATT_PU5', 'ATT_PU6', 'ATT_PU7', 'ATT_PU8', 'ATT_PU9', 'ATT_PU10', 
                        'ATT_PU11', 'ATT_V2']]
    features = dataframe.drop(labels, axis = 1)
    
    date_time = features['DATETIME'].str.split(' ', 1, expand=True)
    features = features.join(date_time.rename(columns={0:'DATE', 1:'HOUR'}))
    
    return features.join(labels)