MCPcopy
hub / github.com/pandas-dev/pandas / rename_axis

Method rename_axis

pandas/core/generic.py:1063–1072  ·  view source on GitHub ↗
(
        self,
        mapper: IndexLabel | lib.NoDefault = ...,
        *,
        index=...,
        columns=...,
        axis: Axis = ...,
        copy: bool | lib.NoDefault = lib.no_default,
        inplace: Literal[False] = ...,
    )

Source from the content-addressed store, hash-verified

1061
1062 @overload
1063 def rename_axis(
1064 self,
1065 mapper: IndexLabel | lib.NoDefault = ...,
1066 *,
1067 index=...,
1068 columns=...,
1069 axis: Axis = ...,
1070 copy: bool | lib.NoDefault = lib.no_default,
1071 inplace: Literal[False] = ...,
1072 ) -> Self: ...
1073
1074 @overload
1075 def rename_axis(

Callers

nothing calls this directly

Calls 10

_get_axis_numberMethod · 0.95
_set_axis_nameMethod · 0.95
copyMethod · 0.95
_get_axis_nameMethod · 0.95
_get_axisMethod · 0.95
validate_bool_kwargFunction · 0.90
is_dict_likeFunction · 0.85
fFunction · 0.70
getMethod · 0.45

Tested by

no test coverage detected