exact substring match in a string code example
Example: str.contains exact match
company_name = 'ABC'
item = r'^' + company_name + '$'
df[‘company’].str.match(item).any()
company_name = 'ABC'
item = r'^' + company_name + '$'
df[‘company’].str.match(item).any()