Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
5. Function median()
Grouping
Summary

Instruction

Another statistic to measure the "center" of a dataset is the median, the "middle" value of a given set. If the number of elements is odd, the median is the middle element in an ordered list of elements. If the number of elements is even, the median is the arithmetic mean of the middle two elements.

median

You can compute the median in Python using the median() function.

players['titles'].median()

Exercise

Find the median of all movie ratings in the movies DataFrame.