Answers for "pandas change order of columns in multiindex"

0

pandas change order of columns in multiindex

df.reindex(columns= df.columns.reindex(['IWWGCW', 'IWWGDW', 'BASE'], 
level = 0)[0])
Posted by: Guest on August-25-2021

Code answers related to "pandas change order of columns in multiindex"

Python Answers by Framework

Browse Popular Code Answers by Language