pandas .contains code example
Example 1: dataframe column contains string
df[df['A'].str.contains("hello")]
Example 2: str.contains multiple strings
>>> searchfor = ['og', 'at']
>>> s[s.str.contains('|'.join(searchfor))]
0 cat
1 hat
2 dog
3 fog
dtype: object