pandas.Series.reorder_levels

Series.reorder_levels(order)

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

order: list of int representing new level order.
(reference level by number not by key)

axis: where to reorder levels

type of caller (new object)