File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -3983,7 +3983,7 @@ def drop(
3983
3983
errors = "raise" ,
3984
3984
):
3985
3985
"""
3986
- Drop specified labels from rows or columns and return a new DataFrame object .
3986
+ Drop specified labels from rows or columns.
3987
3987
3988
3988
Remove rows or columns by specifying label names and corresponding
3989
3989
axis, or by specifying directly index or column names. When using a
@@ -4006,7 +4006,8 @@ def drop(
4006
4006
level : int or level name, optional
4007
4007
For MultiIndex, level from which the labels will be removed.
4008
4008
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.
4010
4011
errors : {'ignore', 'raise'}, default 'raise'
4011
4012
If 'ignore', suppress error and only existing labels are
4012
4013
dropped.
You can’t perform that action at this time.
0 commit comments