Get startedGet started for free

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.

Punts spreadsheet

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.

This exercise is part of the course

Pandas Joins for Spreadsheet Users

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Create data frame for punts and view
____ = pd.read_csv(____)
print(____.head(____))
Edit and Run Code