Series.reorder_levels()
pandas.Series.reorder_levels
-
Series.reorder_levels(order)
-
Rearrange index levels using input order. May not drop or duplicate levels
Parameters: order: list of int representing new level order.
(reference level by number or key)
axis: where to reorder levels
Returns: type of caller (new object)
© 2011–2012 Lambda Foundry, Inc. and PyData Development Team
© 2008–