human
How to sort a dataFrame in python pandas by two or more columns?
assistant
Here is some code to sort a pandas data frame with column `a` in ascending and `b` in descending order

df1.sort(['a', 'b'], ascending=[True, False], inplace=True)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.