1. Learn
  2. /
  3. Courses
  4. /
  5. Pandas Joins for Spreadsheet Users

Connected

Exercise

Concatenating rows with duplicated indexes

Pandas is proving quite useful for your data prep! One small problem - your colleague reloaded the data frames without setting GameKey as the index for either frame. Can you still concatenate the games_2016 and games_2017 data frames?

Instructions

100 XP
  • View the indexes of the reloaded data frames.
  • Rejoin the data frames using pd.concat().
  • View the new data frame.