row that contains a certain characters python code example Example: pandas filter string contain df[df['A'].str.contains("hello")]