1 import pandas 2 excel=pandas.read_excel('填充数据.xlsx',header=3,index_col='id') 3 excel.sort_values(by=['worthy','price'],inplace=True,ascending=[True,False]) 4 print(excel)