Python Pandas - How to flatten a hierarchical index in columns,pd.DataFrame(df.to_records())