MulaiMulai sekarang secara gratis

Suffixes and indicators

Well, it seems the scatter plot hasn't settled any wagers. And source data in the merged data frame isn't as helpful as you expected: it's hard to tell what data is current and what is from the past when players were drafted. merged data frame

It's time to use some of those optional parameters for .merge() and clarify the data. current and draft are still available from the last exercise.

Latihan ini adalah bagian dari kursus

Pandas Joins for Spreadsheet Users

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Merge data frames and view the result
players = ____.merge(draft, how='outer', ____=True,  ____='player_id')
print(____.head())
Edit dan Jalankan Kode