Additional Functions and Features
In this lesson, some important functions of pandas are explored.
We'll cover the following
Pandas functions
The following functions are explained:
-
sum(axis=0)
: This function calculates the sum of each column of aDataFrame
. -
sum(axis=1)
: This function calculates the sum of each row of aDataFrame
.
Get hands-on with 1400+ tech skills courses.