来源:https://stackoverflow.com/questions/64330740/how-to-group-by-column-in-a-dataframe-and-create-pivot-tables-in-a-loop 标签 python-3.x pandas dataframe pivot export-to-excel