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

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

Look at the example of calculating the **mean** and **median** of the `'work_year'`

, dataset `df`

.

Try to change the columns and look at the result:

You see, to calculate all important statistical values, we need to apply functions maintaining the measurements:

Everything was clear?

Section 2. Chapter 3