pd.DataFrame.sort_values
¶
pandas.DataFrame.sort_values(by, axis=0, ascending=True, inplace=False, kind='quicksort', na_position='last', ignore_index=False, key=None)
Supported Arguments¶
by
: constant String or constant list of stringsascending
: boolean, list/tuple of boolean, with length equal to the number of key columnsinplace
: Constant booleanna_position
: constant String ("first" or "last"), constant list/tuple of String, with length equal to the number of key columns