I have two data set as below df1 :
ID name
1
1
2
2
3
3
3
df2 :
ID var1 name
1 54 aaa
1 12 aaa
2 55 bbb
2 87 bbb
3 1 ccc
3 2 ccc
3 12 ccc
3 14 ccc
3 16 ccc
...
I want to fill the nave variable in the df1 data by using df2. How should I do that?