BaşlayınÜcretsiz Başlayın

Joining on index

Your team has decided to take advantage of multi-level indexes for data frames. A colleague has reloaded the game_matchups and punts data frames. This time, each data frame has its key column(s) as the index.

You want to rejoin the data frames by index and compare the percentage of punts by quarter for 2016 and 2017.

Bu egzersiz

Pandas Joins for Spreadsheet Users

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# View first 10 rows of each data frame
print(____.____(10), '\n', ____.head(____))
Kodu Düzenle ve Çalıştır