Pivot Tables in Python have different formatting comparing to Excel

前端 未结 0 633
北荒
北荒 2021-01-23 04:13

Let\'s say we have a dataframe that looks like this: df, and I want to use pandas pivot table to format it in this way: Pivot in Excel. However, df.pivot_table(index=\'Gro

相关标签:
回答
  • 消灭零回复
提交回复
热议问题