sparkbyexamples.com
Pandas Get Total / Sum of Columns
To get the total or sum of a column use sum() method, and to add the result of the sum as a row to the DataFrame use loc[], at[], append() and
Naveen Nelamali