Table Of Contents

Search

Enter search terms or a module, class or function name.

pandas.Series.reorder_levels

Series.reorder_levels(order)[source]

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)

Returns:
type of caller (new object)
Scroll To Top