pd.Index.sort_values
¶
pandasIndex.sort_values(return_indexer=False, ascending=True, na_position="last", key=None)
Supported Arguments:¶
ascending
: can be True or Falsena_position
: can be "first" or "last"
Unsupported Index Types
- IntervalIndex
- PeriodIndex
- MultiIndex