0

I work with a panda Dataframe and I try to create a new table that combine two dataframe based in one column id using concate : My first Dataframe df1 :

enter image description here

My second Dataframe df2: enter image description here

The desired result : enter image description here

When I tried to use this code :

result = pd.merge(df1, df2, on='id')

The result dataframe not show me the rows with id=3,4 and 6? Anyone can help please ? Thank you

MFatn
  • 39
  • 2
  • 11

0 Answers0