Series.sort_values()
pandas.Series.sort_values
-
Series.sort_values(axis=0, ascending=True, inplace=False, kind='quicksort', na_position='last')
-
Sort by the values along either axis
New in version 0.17.0.
Parameters: by : string name or list of names which refer to the axis items
axis : index to direct sorting
ascending : bool or list of bool
Sort ascending vs. descending. Specify list for multiple sort orders. If this is a list of bools, must match the length of the by.
inplace : bool
if True, p