assuming two dfs: df1: name age grade 1 john 18 A 2 john 17 A 3 nancy 18 A 4 Jason 16 B
df2: name age grade 1 john 17 A- 3 nan