摘要: #2种排序一种是按标签一种是按值 #按标签排序 unsorted_df=pd.DataFrame(np.random.randn(10,2),index=[1,4,6,2,3,5,9,8,0,7],columns=['col2','col1']) print (unsorted_df) unsort 阅读全文
posted @ 2020-01-13 15:43 JinweiChang 阅读(142) 评论(0) 推荐(0) 编辑