Additional Functions and Features
In this lesson, some important functions of pandas are explored.
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
.
Access this course and 1400+ top-rated courses and projects.