bigframes.pandas.Series.reorder_levels#

Series.reorder_levels(order: str | int | Sequence[str | int], axis: int | str = 0)[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.

  • axis ({0 or 'index', 1 or 'columns'}, default 0) – For Series this parameter is unused and defaults to 0.

Returns:

type of caller (new object)