pandas.MultiIndex.reorder_levels

MultiIndex.reorder_levels(self, order)[source]

Rearrange levels using input order. May not drop or duplicate levels

Returns:
MultiIndex
Scroll To Top