(a, value)
| 49 | |
| 50 | @derived_from(np.ma) |
| 51 | def 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) |
nothing calls this directly
no test coverage detected
searching dependent graphs…