如何获取multindex透视表中两列之和
pivot_bad_pod_theft_df=pd.pivot_table(bad_pod_theft_df,index=['DELIVERY_DEPOT'],columns=['Month1','BAD_OPEN_OR_CLOSE_STATUS'],values=['CON_NUMBER'],aggfunc={'CON_NUMBER':len},margins=True,fill_value='')
支点坏吊舱盗窃_测向头()
但我要像下面的开合和列请分开引导我。在
^{pr2}$但我越来越像这样了
Dec-17 Dec-17
OPEN CLOSE
3
4 8
3 21
1 9
3 4
1 10
我要把和列中的开合和分开
你似乎需要:
相关问题 更多 >
编程相关推荐