Skip to content

Commit b190866

Browse files
committed
Fixed unexpected indentation
1 parent a275dfb commit b190866

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pandas/core/series.py

+2
Original file line numberDiff line numberDiff line change
@@ -2746,6 +2746,7 @@ def nlargest(self, n=5, keep='first'):
27462746
keep : {'first', 'last', 'all'}, default 'first'
27472747
When there are duplicate values that cannot all fit in a
27482748
Series of `n` elements:
2749+
27492750
- ``first`` : take the first occurrences based on the index order
27502751
- ``last`` : take the last occurrences based on the index order
27512752
- ``all`` : keep all occurrences. This can result in a Series of
@@ -2841,6 +2842,7 @@ def nsmallest(self, n=5, keep='first'):
28412842
keep : {'first', 'last', 'all'}, default 'first'
28422843
When there are duplicate values that cannot all fit in a
28432844
Series of `n` elements:
2845+
28442846
- ``first`` : take the first occurrences based on the index order
28452847
- ``last`` : take the last occurrences based on the index order
28462848
- ``all`` : keep all occurrences. This can result in a Series of

0 commit comments

Comments
 (0)