s.Series.cat.rename_categories.html)
    * [ pandas.Series.cat.reorder_categories ](pandas.Series.cat.reorder_categories.html)
    * [ pandas.Series.cat.add_categories ](pandas.Series.cat.add_categories.html)
    * [ pandas.Series.cat.remove_categories ](pandas.Series.cat.remove_categories.html)
    * [ pandas.Series.cat.remove_unused_categories ](pandas.Series.cat.remove_unused_categories.html)
    * [ pandas.Series.cat.set_categories ](pandas.Series.cat.set_categories.html)
    * [ pandas.Series.cat.as_ordered ](pandas.Series.cat.as_ordered.html)
    * [ pandas.Series.cat.as_unordered ](pandas.Series.cat.as_unordered.html)
    * [ pandas.Series.sparse.npoints ](pandas.Series.sparse.npoints.html)
    * [ pandas.Series.sparse.density ](pandas.Series.sparse.density.html)
    * [ pandas.Series.sparse.fill_value ](pandas.Series.sparse.fill_value.html)
    * [ pandas.Series.sparse.sp_values ](pandas.Series.sparse.sp_values.html)
    * [ pandas.Series.sparse.from_coo ](pandas.Series.sparse.from_coo.html)
    * [ pandas.Series.sparse.to_coo ](pandas.Series.sparse.to_coo.html)
    * [ pandas.Series.list.flatten ](pandas.Series.list.flatten.html)
    * [ pandas.Series.list.len ](pandas.Series.list.len.html)
    * [ pandas.Series.list.__getitem__ ](pandas.Series.list.__getitem__.html)
    * [ pandas.Series.struct.dtypes ](pandas.Series.struct.dtypes.html)
    * [ pandas.Series.struct.field ](pandas.Series.struct.field.html)
    * [ pandas.Series.struct.explode ](pandas.Series.struct.explode.html)
    * [ pandas.Flags ](pandas.Flags.html)
    * [ pandas.Series.attrs ](pandas.Series.attrs.html)
    * [ pandas.Series.plot ](pandas.Series.plot.html)
    * [ pandas.Series.plot.area ](pandas.Series.plot.area.html)
    * [ pandas.Series.plot.bar ](pandas.Series.plot.bar.html)
    * [ pandas.Series.plot.barh ](pandas.Series.plot.barh.html)
    * [ pandas.Series.plot.box ](pandas.Series.plot.box.html)
    * [ pandas.Series.plot.density ](pandas.Series.plot.density.html)
    * [ pandas.Series.plot.hist ](pandas.Series.plot.hist.html)
    * [ pandas.Series.plot.kde ](pandas.Series.plot.kde.html)
    * [ pandas.Series.plot.line ](pandas.Series.plot.line.html)
    * [ pandas.Series.plot.pie ](pandas.Series.plot.pie.html)
    * [ pandas.Series.hist ](pandas.Series.hist.html)
    * [ pandas.Series.to_pickle ](pandas.Series.to_pickle.html)
    * [ pandas.Series.to_csv ](pandas.Series.to_csv.html)
    * [ pandas.Series.to_dict ](pandas.Series.to_dict.html)
    * [ pandas.Series.to_excel ](pandas.Series.to_excel.html)
    * [ pandas.Series.to_frame ](pandas.Series.to_frame.html)
    * [ pandas.Series.to_xarray ](pandas.Series.to_xarray.html)
    * [ pandas.Series.to_hdf ](pandas.Series.to_hdf.html)
    * [ pandas.Series.to_sql ](pandas.Series.to_sql.html)
    * [ pandas.Series.to_json ](pandas.Series.to_json.html)
    * [ pandas.Series.to_string ](pandas.Series.to_string.html)
    * [ pandas.Series.to_clipboard ](pandas.Series.to_clipboard.html)
    * [ pandas.Series.to_latex ](pandas.Series.to_latex.html)
    * [ pandas.Series.to_markdown ](pandas.Series.to_markdown.html)
  * [ DataFrame ](../frame.html)
  * [ pandas arrays, scalars, and data types ](../arrays.html)
  * [ Index objects ](../indexing.html)
  * [ Date offsets ](../offset_frequency.html)
  * [ Window ](../window.html)
  * [ GroupBy ](../groupby.html)
  * [ Resampling ](../resampling.html)
  * [ Style ](../style.html)
  * [ Plotting ](../plotting.html)
  * [ Options and settings ](../options.html)
  * [ Extensions ](../extensions.html)
  * [ Testing ](../testing.html)
  * [ Missing values ](../missing_value.html)

  * [ __ ](../../index.html)
  * [ API reference ](../index.html)
  * [ Series ](../series.html)
  * pandas.Serie... 

#  pandas.Series.swaplevel  #

Series.  swaplevel  (  _ i  =  -2  _ , _ j  =  -1  _ , _ copy  =  None  _ )  [
[source]  ](https://github.com/pandas-
dev/pandas/blob/v2.2.1/pandas/core/series.py#L4344-L4440) #

    

Swap levels i and j in a [ ` MultiIndex  `
](pa