### Navigation

- index
- modules |
- next |
- previous |
- pandas 0.14.1 documentation »
- API Reference »

# pandas.DataFrame.swaplevel

`DataFrame.``swaplevel`(i, j, axis=0)

  Swap levels i and j in a MultiIndex on a particular axis

  Parameters : | i, j : int, string (can be mixed) Level of index to be swapped. Can pass level name as string.
  Returns : | swapped : type of caller (new object)

### Navigation

- index
- modules |
- next |
- previous |
- pandas 0.14.1 documentation »
- API Reference »