A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pandas.pydata.org/pandas-docs/stable/reference/api/../api/pandas.Series.str.fullmatch.html below:

pandas.Series.str.fullmatch — pandas 2.3.1 documentation

pandas.Series.str.fullmatch#
Series.str.fullmatch(pat, case=True, flags=0, na=<no_default>)[source]#

Determine if each string entirely matches a regular expression.

Parameters:
patstr

Character sequence or regular expression.

casebool, default True

If True, case sensitive.

flagsint, default 0 (no flags)

Regex module flags, e.g. re.IGNORECASE.

nascalar, optional

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.

Returns:
Series/Index/array of boolean values

See also

match

Similar, but also returns True when only a prefix of the string matches the regular expression.

extract

Extract matched groups.

Examples

>>> ser = pd.Series(["cat", "duck", "dove"])
>>> ser.str.fullmatch(r'd.+')
0   False
1    True
2    True
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