select rows if char persent in string pandas code example Example: pandas filter string contain df[df['A'].str.contains("hello")]