bigframes.pandas.api.typing.StringMethods.match#

StringMethods.match(pat,case=True,flags=0)T[source]#

Determine if each string starts with a match of a regular expression.

Examples:

>>>importbigframes.pandasasbpd
>>>ser=bpd.Series(["horse","eagle","donkey"])>>>ser.str.match("e")0   False1   True2   Falsedtype: boolean
Parameters:
  • pat (str) – Character sequence or regular expression.

  • case (bool) – If True, case sensitive.

  • flags (int,default 0) – Regex module flags, e.g. re.IGNORECASE.

Returns:

Series of boolean values

Return type:

bigframes.series.Series

This Page