Subtotal in Multi Indexed Pandas DataFrame

Hello,
I am unable to insert a ‘subtotal’ and ‘Grand Total’ row in my multi-indexed pandas dataframe. My dataframe and expected outcome are shown in the image below:

Please help me by providing a solution for the same. Thanks in advance!