So basically I have 2 dataframes with the below structure
PATH CUID NAME Author Updated
1 1 Test Test 01/01/2021
2 2 Test1 Test 01/01/2021
PATH CUID NAME Author Updated
1 1 Test Test 2 01/02/2021
3 3 Test2 Test 2 01/02/2021
Is it possible to merge using 3 key columns? I know the code for merging using 2 columns, but unsure if a 3rd column could be added.
I'm doing an outer join so that all values will be present, only the Author(x or y) and Updated(x or y) will be nulled if there isnt a match on both dataframes.
Sample output would be:
PATH CUID NAME Author_x Updated_x Author_y Updated_y
1 1 Test Test 01/01/2021 Test 2 01/02/2021
2 2 Test1 Test 01/01/2021
3 3 Test2 Test 2 01/02/2021