Answers for "how to remove multiindex pandas"

0

drop index in multiindex pandas

>>> df.droplevel(1) #<-- Specify the level you want to drop
Posted by: Guest on October-06-2021

Code answers related to "how to remove multiindex pandas"

Python Answers by Framework

Browse Popular Code Answers by Language