Say I have a list BRANDS that contains brand names:
BRANDS = ['Samsung', 'Apple', 'Nike', .....]
Dataframe A has following structure
row item_title brand_name
1 | Apple 6S | Apple
2 | Nike BB Shoes | na <-- need to fill with Nike
3 | Samsung TV | na <--need fill with Samsung
4 | Used bike | na <--No need to do anything because there is no brand_name in the title
....
I want to fill the column brand_name of Row 2 with Nike, Row 3 with Samsung, because they null and the item_title contains keywords that can be found in list BRANDS. How can I do it?