I\'ve done some searching and can\'t figure out how to filter a dataframe by df[\"col\"].str.contains(word), however I\'m wondering if there is a way to do the
df[\"col\"].str.contains(word)
Additional to nanselm2's answer, you can use 0 instead of False:
0
False
df["col"].str.contains(word)==0