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