We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aff4671 commit 4bae30fCopy full SHA for 4bae30f
pandas/core/frame.py
@@ -7591,8 +7591,7 @@ def nsorted(
7591
keep: NsmallestNlargestKeep = "first",
7592
) -> DataFrame:
7593
"""
7594
- Return the first `n` rows ordered by `columns` in the order defined by
7595
- `ascending`.
+ Return the first `n` rows ordered by `columns` in `ascending` order.
7596
7597
The columns that are not specified are returned as
7598
well, but not used for ordering.
0 commit comments