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.
Deze oefening maakt deel uit van de cursus
Exploratory Data Analysis in Python
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# Print the mean and standard deviation of rates for 2019 and 2020
print(unemployment[["2019", "2020"]].____)