I have two datasets: one for home country and another for citizenship. Both datasets share two common columns: country
and student_id
. In the home country dataset, the country
column is 70% populated, leaving 30% of the rows as null. I want to fill these null values in the home country dataset using the corresponding country
values from the citizenship dataset, based on the student_id
. How can I achieve this?