Skip to content

Commit 001b545

Browse files
authored
CLN: Make minor docstring fix for DataFrame.drop (#53310)
CLN: Make minor doc fixes to `pandas.DataFrame.drop`
1 parent 4467c2f commit 001b545

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: pandas/core/frame.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -5085,7 +5085,7 @@ def drop(
50855085
Drop specified labels from rows or columns.
50865086
50875087
Remove rows or columns by specifying label names and corresponding
5088-
axis, or by specifying directly index or column names. When using a
5088+
axis, or by directly specifying index or column names. When using a
50895089
multi-index, labels on different levels can be removed by specifying
50905090
the level. See the :ref:`user guide <advanced.shown_levels>`
50915091
for more information about the now unused levels.
@@ -5108,7 +5108,7 @@ def drop(
51085108
For MultiIndex, level from which the labels will be removed.
51095109
inplace : bool, default False
51105110
If False, return a copy. Otherwise, do operation
5111-
inplace and return None.
5111+
in place and return None.
51125112
errors : {'ignore', 'raise'}, default 'raise'
51135113
If 'ignore', suppress error and only existing labels are
51145114
dropped.

0 commit comments

Comments
 (0)