Skip to content

Commit f13cd4c

Browse files
authored
DOC: Update DataFrame.drop() docstring (#61013)
Updated docstring
1 parent 6e137f4 commit f13cd4c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pandas/core/frame.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -5293,16 +5293,16 @@ def drop(
52935293
52945294
Parameters
52955295
----------
5296-
labels : single label or list-like
5296+
labels : single label or iterable of labels
52975297
Index or column labels to drop. A tuple will be used as a single
5298-
label and not treated as a list-like.
5298+
label and not treated as an iterable.
52995299
axis : {0 or 'index', 1 or 'columns'}, default 0
53005300
Whether to drop labels from the index (0 or 'index') or
53015301
columns (1 or 'columns').
5302-
index : single label or list-like
5302+
index : single label or iterable of labels
53035303
Alternative to specifying axis (``labels, axis=0``
53045304
is equivalent to ``index=labels``).
5305-
columns : single label or list-like
5305+
columns : single label or iterable of labels
53065306
Alternative to specifying axis (``labels, axis=1``
53075307
is equivalent to ``columns=labels``).
53085308
level : int or level name, optional

0 commit comments

Comments
 (0)