Course Content

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:

Section 2.

Chapter 3