I have two dataframes.
The second is (df2):
My problem is to get the Internal Code - Variation from df1 in df2 by comparing VARIATION and MAIN PRODUCT CODE v2.
Example: In DF2: When MAIN PRODUCT CODE v2 is TN1050 and VARIATION is _1PCS then it needs to get "UTB1050_1PCS". Where DF2 takes reference from DF1.
My output should be like this in df2:
I really appreciate your help!! Thanks!