Use the sum() method to return column-wise sum value of a DataFrame.
Example
>>> df.sum() sum_employee_no sum_marks 0 313.0 None
Use the sum() method to return column-wise sum value of a DataFrame.
>>> df.sum() sum_employee_no sum_marks 0 313.0 None