One-to-one joins
Are certain turf types associated with concussions? To answer this question, your team has been asked to include data about where games were played and what type of turf is used. Below is the spreadsheet you created.
You'd like to transition to Pandas and join this data with another dataset describing each game. The datasets are saved to separate csv files, stadiums.csv
and games.csv
.
This exercise is part of the course
Pandas Joins for Spreadsheet Users
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Create data frame for stadiums and view
____ = pd.read_csv(____)
print(____)