how to search for a string in pandas dataframe code example Example: python search for word is in column df[df.column.str.contains("word")]