I have below data in Python.
dict1 = {"Col1" : (1790212,2232831,1910525,2158628,1751623,2246989,2157180,2041263)}
dict2 = {"Col1" : (2041263,2488561,2305036,2142484,1751623,2246989,2157180,1790212)}
a = pd.DataFrame(dict1)
b = pd.DataFrame(dict2)
After this I perform VLOOKUP on the above 3 data frame using pd.merge() function
c = pd.merge(a,b, on = 'Col1', how = 'left')
OUTPUT of the above code is
| | COL1 |
|----|-------|
| 0 |1790212|
| 1 |2232831|
| 2 |1910525|
| 3 |2158628|
| 4 |1751623|
| 5 |2246989|
| 6 |2157180|
| 7 |2041263|
The value displayed is incorrect because 2232831,1910525,2158628 are not present in B Data frame it should have displayed NA value instead of this.
Kindly let me know if I have missed anything?