MulaiMulai sekarang secara gratis

Groupby aggregates

Now let's look for some patterns in the data. One way you can do this is to look at groupby aggregates of the data. You will see if delays vary with season, carrier and origin airport.

You will visualize this data in the next exercise and in order for the plots to render nicely, we will use a subset of the original flights data in these exercises.

Latihan ini adalah bagian dari kursus

Python for R Users

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Calculate total_delay
flights['total_delay'] = ____ + ____
Edit dan Jalankan Kode