panda series filter value by regex code example Example: pandas filter rows by column value regex df1 = series.str.contains(regex)