I have multiindex columns and need to change it single index:
df.columns:
Multiindex([('Name', ''),
( 'Type Product', ''),
(' revenue', 2021-10),
( 'revenue', 2021-11),
names=[None,'month'])
I have multiindex columns and need to change it single index:
df.columns:
Multiindex([('Name', ''),
( 'Type Product', ''),
(' revenue', 2021-10),
( 'revenue', 2021-11),
names=[None,'month'])