Skip to content

Commit

Permalink
DOC: Pandas.Series.drop docstring PR02 (pandas-dev#27976) (pandas-dev…
Browse files Browse the repository at this point in the history
  • Loading branch information
angelaambroz authored and Nico Cernek committed Jan 1, 2020
1 parent 50e19fd commit 12e00d3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions pandas/core/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -4157,9 +4157,13 @@ def drop(
Index labels to drop.
axis : 0, default 0
Redundant for application on Series.
index, columns : None
Redundant for application on Series, but index can be used instead
of labels.
index : single label or list-like
Redundant for application on Series, but 'index' can be used instead
of 'labels'.
.. versionadded:: 0.21.0
columns : single label or list-like
No change is made to the Series; use 'index' or 'labels' instead.
.. versionadded:: 0.21.0
level : int or level name, optional
Expand Down

0 comments on commit 12e00d3

Please sign in to comment.