<human>:  How to filter rows in pandas by regex
<bot>: Here is some code to filter rows in pandas starting with alphabet 'f' using regular expression.

df.b.str.contains('^f')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.