I have 2 csv files df1
x y z m
a b c [apple,iphone,watch,newdevice]
e w q NaN
w r t [pixel,google]
s t q [india,computer]
df2
new code file
apple appl ofo
lg weew ofe
htc rrr ofr
google ggle ofg
now i need to check m values in df1 with new value in df2 if it matches i need to combine the details of new values to df1 else we need to fill with null values I need to use python please help me
sample output
x y z m code file
a b c [apple,iphone,watch,newdevice] aapl ofo
e w q NaN null null
w r t [pixel,google,] ggle ofg
s t q [india,computer] null null