LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

Pandas Joins for Spreadsheet Users

Kurs anzeigen

Interaktive Übung

Versuche dich an dieser Übung, indem du diesen Beispielcode vervollständigst.

# Create data frame for stadiums and view
____ = pd.read_csv(____)
print(____)
Code bearbeiten und ausführen