I have a two datasets like this (simplified example)
id A B C
1 1 2 3
2 4 1 3
3 2 5 3
And
id A B C
1 2 2 2
2 3 3 3
3 4 4 4
How can I join then such that I get
id A1 A2 B1 B2 C1 C2
1 1 2 2 2 3 2
2 4 3 1 3 3 3
3 2 4 5 4 3 4
SO I want to keep the Id and combine the dfs with the first column of df1 as the first and the first from the second df as the 2 and so on...