I'm trying to create a new df column while iterating over a df.series and checking if the string contains.
some_list = ['Nashville', 'Oak Ridge']
data.COLUMN
...
'Nashville is a great city'
'Oak Ridge has a research center'
for city in some_list:
for row in data.COLUMN:
if city in row:
data['CITY'] = city
basically, I want to create a city column with the city from the list if the city is contained in the iteration