Determine if each string starts with a match of a regular expression.
Character sequence.
If True, case sensitive.
Regex module flags, e.g. re.IGNORECASE.
Fill value for missing values. The default depends on dtype of the array. For object-dtype, numpy.nan
is used. For the nullable StringDtype
, pandas.NA
is used. For the "str"
dtype, False
is used.
See also
fullmatch
Stricter matching that requires the entire string to match.
contains
Analogous, but less strict, relying on re.search instead of re.match.
extract
Extract matched groups.
Examples
>>> ser = pd.Series(["horse", "eagle", "donkey"]) >>> ser.str.match("e") 0 False 1 True 2 False dtype: bool
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4