MCPcopy
hub / github.com/pydata/xarray / func

Method func

xarray/core/accessor_str.py:273–274  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

271 pat = self._stringify(pat)
272
273 def func(x):
274 return re.compile(x, flags=flags)
275
276 if isinstance(pat, np.ndarray):
277 # apply_ufunc doesn't work for numpy arrays with output object dtypes

Callers 2

get_duck_arrayMethod · 0.45
async_get_duck_arrayMethod · 0.45

Calls 2

_stringifyMethod · 0.95
findallMethod · 0.80

Tested by

no test coverage detected