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 4fa20b4 commit 8f4d591Copy full SHA for 8f4d591
pandas/core/generic.py
@@ -8315,8 +8315,8 @@ def rank(
8315
How to rank NaN values:
8316
8317
* keep: assign NaN rank to NaN values
8318
- * top: assign smallest rank to NaN values if ascending
8319
- * bottom: assign highest rank to NaN values if ascending.
+ * top: assign lowest rank to NaN values
+ * bottom: assign highest rank to NaN values
8320
8321
ascending : bool, default True
8322
Whether or not the elements should be ranked in ascending order.
0 commit comments