Skip to content

Commit 12e00d3

Browse files
angelaambrozNico Cernek
authored and
Nico Cernek
committed
DOC: Pandas.Series.drop docstring PR02 (pandas-dev#27976) (pandas-dev#28742)
1 parent 50e19fd commit 12e00d3

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

pandas/core/series.py

+7-3
Original file line numberDiff line numberDiff line change
@@ -4157,9 +4157,13 @@ def drop(
41574157
Index labels to drop.
41584158
axis : 0, default 0
41594159
Redundant for application on Series.
4160-
index, columns : None
4161-
Redundant for application on Series, but index can be used instead
4162-
of labels.
4160+
index : single label or list-like
4161+
Redundant for application on Series, but 'index' can be used instead
4162+
of 'labels'.
4163+
4164+
.. versionadded:: 0.21.0
4165+
columns : single label or list-like
4166+
No change is made to the Series; use 'index' or 'labels' instead.
41634167
41644168
.. versionadded:: 0.21.0
41654169
level : int or level name, optional

0 commit comments

Comments
 (0)