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