![Keeping index section (different columns) when subtotal row in pivot table ( pandas) is used - Stack Overflow Keeping index section (different columns) when subtotal row in pivot table ( pandas) is used - Stack Overflow](https://i.stack.imgur.com/GmUqd.png)
Keeping index section (different columns) when subtotal row in pivot table ( pandas) is used - Stack Overflow
![Tabulating Subtotals Dynamically in Python Pandas Pivot Tables | by Will Keefe | Towards Data Science Tabulating Subtotals Dynamically in Python Pandas Pivot Tables | by Will Keefe | Towards Data Science](https://miro.medium.com/v2/resize:fit:572/1*h-TAfU_t5bTpON47sb4VGw.png)
Tabulating Subtotals Dynamically in Python Pandas Pivot Tables | by Will Keefe | Towards Data Science
![Tabulating Subtotals Dynamically in Python Pandas Pivot Tables | by Will Keefe | Towards Data Science Tabulating Subtotals Dynamically in Python Pandas Pivot Tables | by Will Keefe | Towards Data Science](https://miro.medium.com/v2/resize:fit:1114/1*2BezdXdGCDsl-argV_FHpg.png)
Tabulating Subtotals Dynamically in Python Pandas Pivot Tables | by Will Keefe | Towards Data Science
![Pivot tables in Pandas and Handling Multi-Index Data with Hands-On Examples in Python | by Susan Maina | Towards Data Science Pivot tables in Pandas and Handling Multi-Index Data with Hands-On Examples in Python | by Susan Maina | Towards Data Science](https://miro.medium.com/v2/resize:fit:1320/1*ap0W-nHiLI5GGTWG46fdMg.png)
Pivot tables in Pandas and Handling Multi-Index Data with Hands-On Examples in Python | by Susan Maina | Towards Data Science
![How to add subtotals to multiple rows of a pivot table with pandas | by Paul Vella | Medium | Sigma 1 How to add subtotals to multiple rows of a pivot table with pandas | by Paul Vella | Medium | Sigma 1](https://miro.medium.com/v2/resize:fit:1200/1*cMvQAOiiifeXszsKk_idKQ.png)