如何在熊猫中重新排序数据透视表

时间:2019-11-19 12:14:36

标签: python pandas pivot-table

嗨,大家需要帮助,以便在透视表下方订购jan,feb,march。...

df_sales.pivot_table(values='Invoice__Amount', index='SECTOR', columns='Month_of_Sale',aggfunc='sum', margins=True, fill_value=0)

Hi guys need help in ordering below pivot table to, jan,feb,march....

0 个答案:

没有答案