Working with complementary data
Your team is now ready to explore data at a more detailed level. Each game in American football is made up of discrete plays with a typical game containing around 150 plays. Your spreadsheet for punt plays has data on every punt from the 2016 and 2017 seasons.
You want to append the data for each play with game data: home team, visiting team, etc. You already have the play data saved to punts.csv
. You also have game data saved as games.csv
.
Diese Übung ist Teil des Kurses
Pandas Joins for Spreadsheet Users
Interaktive Übung
Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.
# Create data frame for punts and view
____ = pd.read_csv(____)
print(____.head(____))