dataframe按指定列排序

df.sort_values(by="sales" , ascending=False) by 指定列 ascending

posted @ 2020-08-19 09:19  你爱谈天我爱笑  阅读(12864)  评论(0编辑  收藏  举报