Skip to content

Commit 232db13

Browse files
authored
DOC: A blank line is needed at the beginning of list. (#48485)
1 parent 1b2646a commit 232db13

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

pandas/core/frame.py

+9-7
Original file line numberDiff line numberDiff line change
@@ -6624,15 +6624,17 @@ def drop_duplicates(
66246624
subset : column label or sequence of labels, optional
66256625
Only consider certain columns for identifying duplicates, by
66266626
default use all of the columns.
6627-
keep : {'first', 'last', False}, default 'first'
6627+
keep : {'first', 'last', ``False``}, default 'first'
66286628
Determines which duplicates (if any) to keep.
6629-
- ``first`` : Drop duplicates except for the first occurrence.
6630-
- ``last`` : Drop duplicates except for the last occurrence.
6631-
- False : Drop all duplicates.
6632-
inplace : bool, default False
6629+
6630+
- 'first' : Drop duplicates except for the first occurrence.
6631+
- 'last' : Drop duplicates except for the last occurrence.
6632+
- ``False`` : Drop all duplicates.
6633+
6634+
inplace : bool, default ``False``
66336635
Whether to modify the DataFrame rather than creating a new one.
6634-
ignore_index : bool, default False
6635-
If True, the resulting axis will be labeled 0, 1, …, n - 1.
6636+
ignore_index : bool, default ``False``
6637+
If ``True``, the resulting axis will be labeled 0, 1, …, n - 1.
66366638
66376639
.. versionadded:: 1.0.0
66386640

0 commit comments

Comments
 (0)