I need to overwrite the email value in userinfo.csv with the email address from email.csv userid and u_user values are matching and unique in both csv's. The email address value in userinfo.csv in not good and needs to be overwritten with the email value from email.csv.
How do I match userid in both csv's and append email value?
No idea where to even start. Any help, please.
email.csv
userid,email
1234,[email protected]
1235,[email protected]
userinfo.csv
u_work,u_user,u_address,u_city,u_state,u_zip,u_email,u_phonehome
1234,here,there,everywhere,55555,[email protected],555-555-5555
away,1235,there,here,everywhere,66666,[email protected],666-666-6666
new.csv
u_work,u_user,u_address,u_city,u_state,u_zip,u_email,u_phonehome
1234,here,there,everywhere,55555,[email protected],555-555-5555
away,1235,there,here,everywhere,66666,[email protected],666-666-6666