Introduction
8. Functions std() and count()
Grouping
Summary

Instruction

Excellent! There are also two other statistics in the describe() function output that you can compute independently. The first one is the standard deviationstd():

players['aces'].std()

The standard deviation is an important statistical measure that quantifies the amount of dispersion in the data (the bigger the standard deviation, the bigger the "spread" of the data). The second function is count(), which returns the number of non-empty values in a given column:

players['aces'].count()

As you can see, most statistical functions follow the same pattern.

Exercise

Calculate the standard deviation for the box_office column in the movies DataFrame.

Stuck? Here's a hint!

Use the std() function.