vlookup in python and join particular columns to dataframe code example
Example: python - merge and incluse only specific columns
right.merge(left, on=['key1','key2'])[['A','B','C','key1','key2']]
right.merge(left, on=['key1','key2'])[['A','B','C','key1','key2']]