check for a part of a string in python dataframe code example Example: python search for word is in column df[df.column.str.contains("word")]