MCPcopy
hub / github.com/dask/dask / masked_values

Function masked_values

dask/array/ma.py:94–100  ·  view source on GitHub ↗
(x, value, rtol=1e-05, atol=1e-08, shrink=True)

Source from the content-addressed store, hash-verified

92
93@derived_from(np.ma)
94def masked_values(x, value, rtol=1e-05, atol=1e-08, shrink=True):
95 x = asanyarray(x)
96 if getattr(value, "shape", ()):
97 raise ValueError("da.ma.masked_values doesn't support array `value`s")
98 return map_blocks(
99 np.ma.masked_values, x, value, rtol=rtol, atol=atol, shrink=shrink
100 )
101
102
103@derived_from(np.ma)

Callers

nothing calls this directly

Calls 2

asanyarrayFunction · 0.90
map_blocksFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…