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

Finding the median

The median gives us the central position in a series of values. By definition, the median is the value in the data where there are an equal number of other values that are both less and greater than it. The median is important as it is less influenced by outlying values and asymmetric data than the mean.

The median of the values is determined using the .median():

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