摘要: sorted(字典名.items(), key=lambda x: x[1]) x = a[a['列名'] == 值]['列名'] y = a[a['列名'] == 值]['列名'] dic_xy = dict(zip(x,y)) lst_xy = sorted(dic_xy.items(), ke 阅读全文
posted @ 2020-06-09 19:43 Hany47315 阅读(321) 评论(0) 推荐(0)