CommencerCommencer gratuitement

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. stadiums

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.

Cet exercice fait partie du cours

Pandas Joins for Spreadsheet Users

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

# Create data frame for stadiums and view
____ = pd.read_csv(____)
print(____)
Modifier et exécuter le code