anyone have example the how develop report with pandas

How use pandas for complex report in django? (complex = groups, subtotals, pagination, etc…) anyone have any example? how adding subtotals in dataframe?? Don´t found examples in web…

thank’s