MCPcopy
hub / github.com/dask/dask / _

Function _

dask/array/ma.py:32–38  ·  view source on GitHub ↗
(a, value)

Source from the content-addressed store, hash-verified

30def _wrap_masked(f):
31 @wraps(f)
32 def _(a, value):
33 a = asanyarray(a)
34 value = asanyarray(value)
35 ainds = tuple(range(a.ndim))[::-1]
36 vinds = tuple(range(value.ndim))[::-1]
37 oinds = max(ainds, vinds, key=len)
38 return blockwise(f, oinds, a, ainds, value, vinds, dtype=a.dtype)
39
40 return _
41

Callers

nothing calls this directly

Calls 3

asanyarrayFunction · 0.90
maxFunction · 0.85
blockwiseFunction · 0.70

Tested by

no test coverage detected