LoslegenKostenlos loslegen

Working with split data

Your team wants to use data from the 2016 and 2017 seasons. The game data is stored in a spreadsheet file with each season on a separate sheet.

Games spreadsheet

This is a perfect chance to start building pandas muscles! You'll use pandas to look at each season of data and see if they can be joined into one data frame. A coworker has already imported the pandas package into the code environment as "pd" and saved each sheet to csv files. The files are called games_2016.csv and games_2017.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 2016
games_2016 = pd.read_csv(____)
Code bearbeiten und ausführen