### Navigation

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

# pandas.DataFrame.rename_axis

`DataFrame.``rename_axis`(mapper, axis=0, copy=True, inplace=False)

  Alter index and / or columns using input function or functions. Function / dict values must be unique (1-to-1). Labels not contained in a dict / Series will be left as-is.

  Parameters : | mapper : dict-like or function, optional axis : int or string, default 0 copy : boolean, default True Also copy underlying data inplace : boolean, default False
  Returns : | renamed : type of caller

### Navigation

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