Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -8315,8 +8315,8 @@ def rank(
How to rank NaN values:

* keep: assign NaN rank to NaN values
* top: assign smallest rank to NaN values if ascending
* bottom: assign highest rank to NaN values if ascending.
* top: assign lowest rank to NaN values
* bottom: assign highest rank to NaN values

ascending : bool, default True
Whether or not the elements should be ranked in ascending order.
Expand Down