I'd like to combine two dataframe in a new one which contain columns from both of them, moreover I need to put in the new dataframe only rows with same id.
my dataframes looks like:
df1
Name V1 V2 V3
str1 . . strA
str2 . . strB
.. . .
str16000 . . strC
df2
Name V1 V2 V3
str2 . . strD
str1 . . strE
.. . .
str20000 . . strF
I'd like an output like:
Name df1$v3 df2$v3
str1 strA strE
str2 strB strD
Note that df1 and df2 have different lenghts, moreover the same item in df1 and df2 has not the same position.
thanks you guys