sorted_data = data.sort_values(by=['列1','列2'], ascending=False) 先按列1排序,再按列2排序 ascending默认为True按升序排,False为降序排