Back Navigation Next Navigation Pandas (page 9 of 9)

We can perform a series of calculations using pandas. The my_df.describe() statement performs a variety of descriptive statistics. We can perform sums, averages, standard deviations, etc. calculations along the rows or columns. For instance, my_df.sum() would calculate the sum of each Series. Essentially, it would sum going down each column along axis=0 (e.g., my_df.sum(axis=0)). We can also sum across each row by specifying axis=1 (e.g., my_df.sum(axis=1))

Axis

In Class Activity: Starter File & Solution File
Reading Check: Passion first, and everything else will fall into place.