def noramlize_data(df):
    """
    Normalizes the data by subtracting the mean and dividing by the max - min.
    :param df: the dataframe that we are normalizing
    :return: the normalized dataframe
    """

    df_normalized = (df - df.mean()) / (df.max() - df.min())

    return df_normalized