Skip to content

Commit 62d7a24

Browse files
authored
DOC: Fix Docstring for DataFrame nlargest keep option (#44040)
1 parent 2a78acc commit 62d7a24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/frame.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6584,8 +6584,8 @@ def nlargest(self, n, columns, keep: str = "first") -> DataFrame:
65846584
keep : {'first', 'last', 'all'}, default 'first'
65856585
Where there are duplicate values:
65866586
6587-
- `first` : prioritize the first occurrence(s)
6588-
- `last` : prioritize the last occurrence(s)
6587+
- ``first`` : prioritize the first occurrence(s)
6588+
- ``last`` : prioritize the last occurrence(s)
65896589
- ``all`` : do not drop any duplicates, even it means
65906590
selecting more than `n` items.
65916591

0 commit comments

Comments
 (0)