how to rename pivot table when Multiindex

sr_pivot.index.names=['newdate', 'systemId']

https://pandas.pydata.org/pandas-docs/stable/reshaping.html

你可能感兴趣的:(how to rename pivot table when Multiindex)