@@ -6624,15 +6624,17 @@ def drop_duplicates(
6624
6624
subset : column label or sequence of labels, optional
6625
6625
Only consider certain columns for identifying duplicates, by
6626
6626
default use all of the columns.
6627
- keep : {'first', 'last', False}, default 'first'
6627
+ keep : {'first', 'last', `` False`` }, default 'first'
6628
6628
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``
6633
6635
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.
6636
6638
6637
6639
.. versionadded:: 1.0.0
6638
6640
0 commit comments