Skip to content

Commit e89133e

Browse files
Update pandas/core/series.py
Co-authored-by: Matthew Roeschke <[email protected]>
1 parent 42baf15 commit e89133e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/series.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4723,8 +4723,8 @@ def rename(
47234723
Returns
47244724
-------
47254725
Series
4726-
Series with index labels or name altered as a copy, the same object
4727-
if ``inplace=True`` and index is not a dict or callage else None.
4726+
A shallow copy with index labels or name altered, or the same object
4727+
if ``inplace=True`` and index is not a dict or callable else None.
47284728
47294729
See Also
47304730
--------

0 commit comments

Comments
 (0)