I have a data frame with a column of job titles and the company name in the same string of each row, I also have a list of all possible company names.
How do I search the column of my data frame to see if it contains one of the companies in my list and then create a new column with just the company names if there is a match in some rows? Attached two photos.
I tried a few solutions but can't find one that works.
The original logic I followed is; df['Company'] = df['Title'].str.contains(x for x in joblist) but obviously that throws an error.
Any help is appreciated, thanks.

