I need to merge multiple dataframe with the matching values in column A
. What is the most efficient way to do this and get the result
.
df1
A B C
2 x r
1 c r
3 y t
df2
A D E
3 e y
1 t t
2 y t
df3
A F G
1 g y
2 f y
3 h k
result
A B C D E F G
1 c r t t g y
2 x r y t f y
3 y t y t h k