Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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_array
Method · 0.45
async_get_duck_array
Method · 0.45
Calls
2
_stringify
Method · 0.95
findall
Method · 0.80
Tested by
no test coverage detected