MCPcopy
hub / github.com/pandas-dev/pandas / test_str_fullmatch

Function test_str_fullmatch

pandas/tests/extension/test_arrow.py:1975–1979  ·  view source on GitHub ↗
(pat, case, na, exp)

Source from the content-addressed store, hash-verified

1973 ],
1974)
1975def test_str_fullmatch(pat, case, na, exp):
1976 ser = pd.Series(["abc", "abc$", "$abc", None], dtype=ArrowDtype(pa.string()))
1977 result = ser.str.fullmatch(pat, case=case, na=na)
1978 expected = pd.Series(exp, dtype=ArrowDtype(pa.bool_()))
1979 tm.assert_series_equal(result, expected)
1980
1981
1982@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 3

ArrowDtypeClass · 0.90
stringMethod · 0.80
fullmatchMethod · 0.80

Tested by

no test coverage detected