I have 2 dataframes That I'm trying to combine so I used the stackoverflow example with some modifications to demonstrate how they look:
Dataframe1:
left | center | right |
---|---|---|
a | 0.1 | Tee |
b | 0.2 | The |
c | 0.1 | Three |
d | 0.3 | ee |
Dataframe2:
left | center |
---|---|
a | 0.4 |
c | 0.7 |
b | 0.5 |
Looking for:
left | center | center2 | right |
---|---|---|---|
a | 0.1 | 0.4 | Tee |
b | 0.2 | 0.5 | The |
c | 0.1 | 0.7 | Three |
d | 0.3 | 0 | ee |
So essentially dataframe 2 is missing some rows and the index/order of the column that I want to join them on is different.