Answers for "drop index in 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

Python Answers by Framework

Browse Popular Code Answers by Language