Mulai sekarangMulai 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.

Latihan ini merupakan bagian dari kursus

Exploratory Data Analysis in Python

Lihat Kursus

Latihan interaktif langsung praktik

Cobalah latihan ini dengan melengkapi kode contoh ini.

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