vlookup in Pandas using join
Perform a left merge, this will use sku column as the column to join on: In [26]: df.merge(df1, on=’sku’, how=’left’) Out[26]: sku loc flag dept 0 122 61 True b 1 122 62 True b 2 122 63 False b 3 123 61 True b 4 123 62 False b 5 113 62 True a … Read more