sort_values multiple columns code example Example: pandas sort values by multiple columns df = df.sort_values(["b", "c"], ascending = (False, True))