I'm trying to sort the contents of my dataframe on 'percentage'. The sort doesn't seem to work.
Code- enter image description here
ipl_tot['Win Percent'] = ipl_tot['Matches Won']/ipl_tot['Matches
Played'] * 100
ipl_tot.sort_values(by = (['Matches Won', 'Win Percent']),ascending =
False)
ipl_tot