O'Reilly logo

Learning pandas - Second Edition by Michael Heydt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Measuring central tendency: mean, median, and mode

Mean and median give us several useful measurements of data that help us begin to understand the distribution of values and also the shape of that distribution. The relationship of these three values gives us a quick summary concept of the shape, as shown in the following diagram:

Now let's examine how to find each of these values using pandas.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required