Exercise: Merging Datasets

Check your understanding of manipulating and merging datasets.

We'll cover the following

Let’s practice what we have learned so far.

Tasks

Refactor the Python code below to follow the three tasks.

  • Merge the two datasets, data and country read on lines 4–5.
  • Drop the NULL values in the resulting dataset.
  • Print the final dataset.

Coding workspace

The provided workspace contains the required libraries and datasets. Try to code the solution for the tasks mentioned above.

Get hands-on with 1400+ tech skills courses.