pandas sort
by a column
There are many ways to sort
pandas, sort_values means to sort
by a certain column
pd. Sort_values (” XXX “, inplace = True) p>
means that pd is sorted by the field XXX. Inplace defaults to False. If this value is False, then the original pd order does not change, but returns the sorted