IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Exploratory Data Analysis in Python

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Print the mean and standard deviation of rates for 2019 and 2020 
print(unemployment[["2019", "2020"]].____)
Modifica ed esegui il codice