Get startedGet started for free

Summaries with .groupby() and .agg()

In this exercise, you'll explore the means and standard deviations of the yearly unemployment data. First, you'll find means and standard deviations regardless of the continent to observe worldwide unemployment trends. Then, you'll check unemployment trends broken down by continent.

The unemployment DataFrame is available, and pandas has been imported as pd.

This exercise is part of the course

Exploratory Data Analysis in Python

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Print the mean and standard deviation of rates for 2019 and 2020 
print(unemployment[["2019", "2020"]].____)
Edit and Run Code