search for string pandas code example
Example 1: dataframe column contains string
df[df['A'].str.contains("hello")]
Example 2: python search for word is in column
df[df.column.str.contains("word")]
df[df['A'].str.contains("hello")]
df[df.column.str.contains("word")]