This is probably easy, but I have the following data:
In data frame 1:
index dat1 0 9 1 5
In data frame 2:
You can also use:
dat1 = pd.concat([dat1, dat2], axis=1)