Hello - I have 2 csv files each containing a data . I would like python to import the tables, then if any value from file 1 is found in file2, it will add that value to file2 in a new column. When completed, it will save the new file as csv to file3.
file1
NAME COLUMN
word1
word2
word3
word4
word5
word6
word7
word8
word9
word10
word11
word12
word13
word14
file2
SN NAME
1083 word1 and other text
1099 text and word8
1146 text with word1
1171 word2 and more
1329 some other words and word 14
1446 word1 here
1662 blah word2
1777 here is word 7 only
1887 word8 is here
1911 blah blah word9 blah blah
1939 word10 blah
1971 word11 blah blah
file3
SN NAME found
1083 word1 and other text word1
1099 text and word8 word8
1146 text with word1 word1
1171 word2 and more word2
1329 some other words and word 14 word14
1446 word1 here word1
1662 blah word2 word2
1777 here is word 7 only word7
1887 word8 is here word8
1911 blah blah word9 blah blah word9
1939 word10 blah word10
1971 word11 blah blah word11