Skip to content

Commit

Permalink
DOC: fill in class names for rename methods (#21268)
Browse files Browse the repository at this point in the history
(cherry picked from commit 7647969)
  • Loading branch information
gef756 authored and jorisvandenbossche committed Jun 9, 2018
1 parent ba16de0 commit 5dfa9fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -3721,7 +3721,7 @@ def rename(self, *args, **kwargs):
copy : boolean, default True
Also copy underlying data
inplace : boolean, default False
Whether to return a new %(klass)s. If True then value of copy is
Whether to return a new DataFrame. If True then value of copy is
ignored.
level : int or level name, default None
In case of a MultiIndex, only rename labels in the specified
Expand Down
2 changes: 1 addition & 1 deletion pandas/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -3269,7 +3269,7 @@ def rename(self, index=None, **kwargs):
copy : boolean, default True
Also copy underlying data
inplace : boolean, default False
Whether to return a new %(klass)s. If True then value of copy is
Whether to return a new Series. If True then value of copy is
ignored.
level : int or level name, default None
In case of a MultiIndex, only rename labels in the specified
Expand Down

0 comments on commit 5dfa9fd

Please sign in to comment.