filter dataframe by word in text of column and or code example Example: pandas filter string contain df[df['A'].str.contains("hello")]