def get_features_and_target(df):
    """
    Takes a full dataset as argument and returns the corresponding X (features)
    and y (target) dataframes.
    """
    X = df.iloc[:, df.columns != 'hotel_cluster']

    # Deals with the case where the dataframe is the test one
    y = df['hotel_cluster'] if 'hotel_cluster' in df.columns  else None

    return X, y