I have a dataframe with duplicate rows. I want to merge with another dataframe such that each duplicate row is accounted for.
For Example,
df1:
   A    B    C
1  100  200  300
2  400  500  600
3  100  200  300
df2:
   A    B    C
1  100  200  300
2  600  700  800
After Merge: It should return
   A    B    C
1  100  200  300
But when I did:
merge(x=df1, y=df2)
I get
   A    B    C
1  100  200  300
2  100  200  300
Its returning two rows despite df2 having that row only once
unique(merge(df1, df2))