dataframe pivot table https://www.cnblogs.com/onemorepoint/p/8425300.html https://blog.csdn.net/mingkoukou/article/details/82870960 https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.pivot_table.html https://blog.csdn.net/mingkoukou/article/details/82870960