MCPcopy
hub / github.com/dask/dask / masked_equal

Function masked_equal

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

Source from the content-addressed store, hash-verified

49
50@derived_from(np.ma)
51def masked_equal(a, value):
52 a = asanyarray(a)
53 if getattr(value, "shape", ()):
54 raise ValueError("da.ma.masked_equal doesn't support array `value`s")
55 inds = tuple(range(a.ndim))
56 return blockwise(np.ma.masked_equal, inds, a, inds, value, (), dtype=a.dtype)
57
58
59@derived_from(np.ma)

Callers

nothing calls this directly

Calls 2

asanyarrayFunction · 0.90
blockwiseFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…