Skip to content

Commit 47753cf

Browse files
committed
1 parent 15bd288 commit 47753cf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pandas/core/frame.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -3983,7 +3983,7 @@ def drop(
39833983
errors="raise",
39843984
):
39853985
"""
3986-
Drop specified labels from rows or columns and return a new DataFrame object.
3986+
Drop specified labels from rows or columns.
39873987
39883988
Remove rows or columns by specifying label names and corresponding
39893989
axis, or by specifying directly index or column names. When using a
@@ -4006,7 +4006,8 @@ def drop(
40064006
level : int or level name, optional
40074007
For MultiIndex, level from which the labels will be removed.
40084008
inplace : bool, default False
4009-
If True, do operation inplace and return None.
4009+
If False, return a copy. Otherwise, do operation
4010+
inplace and return None.
40104011
errors : {'ignore', 'raise'}, default 'raise'
40114012
If 'ignore', suppress error and only existing labels are
40124013
dropped.

0 commit comments

Comments
 (0)