I have two Dataframe with the following values.
Dataframe 1
Colum1 Primary
0 test1 1234
1 test2 4567
2 test3 56789
3 test4 8799
Dataframe 2
Colum1 Primary Category
0 test 56789 A
1 test 8799 B
For each row in column, check for primary value. if true, update Dataframe 1 with the Category Value. The final Output should be.
Dataframe 1
Colum1 Primary Category
0 test1 1234
1 test2 4567
2 test3 56789 A
3 test4 8799 B