Skip to content

Commit dbac892

Browse files
committed
DOC: Pandas.Series.drop docstring PR02 (pandas-dev#27976)
1 parent 4ac7f9d commit dbac892

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

pandas/core/series.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4154,9 +4154,13 @@ def drop(
41544154
Index labels to drop.
41554155
axis : 0, default 0
41564156
Redundant for application on Series.
4157-
index, columns : None
4158-
Redundant for application on Series, but index can be used instead
4159-
of labels.
4157+
index : single label or list-like
4158+
Redundant for application on Series, but 'index' can be used instead
4159+
of 'labels'.
4160+
4161+
.. versionadded:: 0.21.0
4162+
columns : single label or list-like
4163+
No change is made to the Series; use 'index' or 'labels' instead.
41604164
41614165
.. versionadded:: 0.21.0
41624166
level : int or level name, optional

0 commit comments

Comments
 (0)