I\'m trying to replicate the Excel Pivot Table function through Python Dataframe. Problem is that I was able to only show grand totals for Rows and Columns, but not Sub-totals.