Additional Functions and Features

In this lesson, some important functions of pandas are explored.

Pandas functions

The following functions are explained:

  1. sum(axis=0) : This function calculates the sum of each column of a DataFrame.

  2. sum(axis=1) : This function calculates the sum of each row of a DataFrame.

Get hands-on with 1000+ tech skills courses.