Activity 14: Data Wrangling Task – Merging UN Data and GDP Data
The steps to merge the databases is as follows:
Reset the indexes for merging.
Merge the two DataFrames, primary_enrollment_india and df_gdp, on the Year column.
Drop the data, footnotes, and region/county/area.
Rearrange the columns for proper viewing and presentation.
Note
The solution for this activity can be found on page 345.