Here's my pivot table column structure (multiindex):
col2 col3 col4 sales
month month_1 month_2 month_3
I would like to flatten it to:
col2 col3 col4 month_1 month_2 month_3
If I do pivot.columns = pivot.columns.get_level_values(0), then the result is:
col2 col3 col4 sales sales sales
What do I do?

