df = pd.DataFrame({'A': ['Hello', 'this', 'World', 'apple']})
df.A.str.contains('Hello|World')
~df.A.str.contains('Hello|World')
df[~df.A.str.contains('Hello|World')]
Обращение string.contains В python, pandas