Course Content

# Learning Statistics with Python

2. Mean, Median and Mode with Python

3. Variance and Standard Deviation

4. Covariance vs Correlation

Learning Statistics with Python

## Statistics with pandas

The Pandas library already has three built-in functions for calculating the **mean** and **median**. To import Pandas, use the following syntax:

Here's an example of calculating the **mean** and **median** for the `'work_year'`

column in the dataset named `df`

.

Feel free to change the columns and observe the results:

You see, to calculate all the important statistical values, we need to apply methods that handle the measurements:

Everything was clear?

Section 2. Chapter 3