Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pandas-dev/pandas
/ rename
Method
rename
pandas/core/indexes/base.py:2057–2057 ·
view source on GitHub ↗
(self, name, *, inplace: Literal[False] = ...)
Source
from the content-addressed store, hash-verified
2055
2056
@overload
2057
def
rename(self, name, *, inplace: Literal[False] = ...) -> Self: ...
2058
2059
@overload
2060
def
rename(self, name, *, inplace: Literal[True]) -> None: ...
Callers
15
_get_reconciled_name_object
Method · 0.95
test_rename_axis_none
Method · 0.95
test_rename_axis_none
Method · 0.95
test_identical
Method · 0.95
test_identical
Method · 0.95
test_difference
Method · 0.95
test_symmetric_difference
Method · 0.95
test_identical
Method · 0.95
get_new_columns
Method · 0.45
new_index
Method · 0.45
_union
Method · 0.45
_get_reconciled_name_object
Method · 0.45
Calls
1
set_names
Method · 0.95
Tested by
7
test_rename_axis_none
Method · 0.76
test_rename_axis_none
Method · 0.76
test_identical
Method · 0.76
test_identical
Method · 0.76
test_difference
Method · 0.76
test_symmetric_difference
Method · 0.76
test_identical
Method · 0.76