def df_cols_to_snake_case(df):
    
    """
    Given a DataFrame, converts column titles from separate words to snake_case.
    Will not work on CamelCase.
    """
    
    return df.rename(mapper={col : col.lower().replace(' ', '_') for col in df.columns}, axis=1)