I want to merge two datasets of different sizes. Ex.
df = {'identifier': [1,1,1,2,2,2],
'Income': [50,40,70,50,60,30],
}
df2= {'identifier': [1,2],
'Rent': [150,300],
}
With the following output:
df3={'identifier': [1,1,1,2,2,2],
'Income': [50,40,70,50,60,30],
'Rent': [150,150,150,300,300,300],
}