Python Pandas - How to flatten a hierarchical index in columns,df.columns = df.columns.get_level_values(0)