摘要: >>> pd.pivot( index=np.array(['one', 'one', 'one', 'two', 'two', 'two']), columns=np.array(['A', 'B', 'C', 'A', 'B', 'C']), values=np.array([1,2,3,4,5,6])) out: A B C one 1 ... 阅读全文
posted @ 2018-04-06 17:11 _殇 阅读(770) 评论(0) 推荐(0) 编辑