mars.dataframe.Series.str.match¶
- Series.str.match(pat, case=True, flags=0, na=None)¶
Determine if each string starts with a match of a regular expression.
- 参数
pat (str) – Character sequence or regular expression.
case (bool, default True) – If True, case sensitive.
flags (int, default 0 (no flags)) – Regex module flags, e.g. re.IGNORECASE.
na (scalar, optional) – Fill value for missing values. The default depends on dtype of the array. For object-dtype,
numpy.nan
is used. ForStringDtype
,pandas.NA
is used.
- 返回
- 返回类型
Series/Index/array of boolean values