# Measures of Central Tendency

Learn the measures of central tendency and how to find them with Pandas.

## We'll cover the following

## The mean, median, and mode

The mean, median, and mode are the measures of central tendency that give us an idea of the distribution of a variable.

**Mean**is the average value. It can be calculated by adding all the numbers in a dataset and then dividing the sum by the number of values.**Median**is the middle value when the values are sorted in ascending or descending order. If the number of values in the dataset is even, the median is the average of the two values in the middle.

For example, the following `Series`

has six values. Run the code to verify that the median value is the average of the two values in the middle.

Get hands-on with 1200+ tech skills courses.