I have two csv files, first one (master file) contain Keys and its values and the second one (daily file) contain key and some other columns.
Example file (master file)
Key value
A 1
B 2
c 3
Example file (daily file)
Name Key date
Red A dd/mm/yy
Blue B dd/mm/yy
Pink C dd/mm/yy
The outcome file I need looks like this:
Name Key value date
Pink C 3 dd/mm/yy
Blue B 2 dd/mm/yy
Red A 1 dd/mm/yy
I've tried using dataframe and creating dicts from external file or dataframe but not idea how can I do the lookup base on key and obtain its value.

C, 3andPink, C, dd/mm/yyand merge them to becomeRed, C, 3, dd/mm/yy?