pd.DataFrame.sort_index
¶
pandas.DataFrame.sort_index(axis=0, level=None, ascending=True, inplace=False, kind='quicksort', na_position='last', sort_remaining=True, ignore_index=False, key=None)
Supported Arguments¶
ascending
: booleanna_position
:constant String ("first" or "last")