How to filter rows in pandas by regex,df.b.str.contains('^f')