df = pd.DataFrame(rows, columns = ["llx", "lly", "urx", "ury", "text", "page"])
df.sort_values(['lly','llx'], ascending=[False,True])
Pandas对多列进行升降序排列
猜你喜欢
转载自www.cnblogs.com/everfight/p/pandas_sort.html
今日推荐
周排行