I want to combine 2 dataframes and create another dataframe with combined values that have the id in common.
DF1:
id country age
123 US 30
234 MY 45
432 AF 32
DF2:
id country name
123 US Bill
234 MY Luis
432 AF Joe
787 SG Mark
How do I combine these two df and get only the data with same 'id'.
What i want:
DF3:
id country age name
123 US 30 Bill
234 MY 45 Luis
432 AF 32 Joe