Index.sort_values puts missing values at the start with ascending=False #31220
Labels
API - Consistency
Internal Consistency of API/Behavior
good first issue
Index
Related to the Index class or subclasses
Missing-data
np.nan, pd.NaT, pd.NA, dropna, isnull, interpolate
Code Sample, a copy-pastable example if possible
Index.sort_values places missing values at the start of the result with
ascending=False
Problem description
This differs from Series.sort_values, which always leaves NA values at the end.
Expected Output
The text was updated successfully, but these errors were encountered: