This is probably easy, but I have the following data:
In data frame 1:
index dat1
0     9
1     5
In data frame 2:
index dat2
0     7
1     6
I want a data frame with the following form:
index dat1  dat2
0     9     7
1     5     6
I've tried using the append method, but I get a cross join (i.e. cartesian product).
What's the right way to do this?
 
     
     
     
     
     
    