I\'m trying to sort a dataframe by descending. I put \'False\' in the ascending argument, but my order is still ascending.
My code is:
from pandas im
from pandas import DataFrame import pandas as pd d = {'one':[2,3,1,4,5], 'two':[5,4,3,2,1], 'letter':['a','a','b','b','c']} df = DataFrame(d) test = df.sort_values(['one'], ascending=False) test