I've a problem with merging 2 dataframe with multiple index in dataframe1 and single index in dataframe2. I have dataframe1
ID description
1 A
1 B
1 C
2 D
2 E
dataframe2
ID price
1 100
2 50
expected output
ID description price
1 A 100
1 B NaN
1 C NaN
2 D 50
2 E NaN
Thank you and sorry for my English.