(a, fill_value)
| 163 | |
| 164 | @derived_from(np.ma) |
| 165 | def set_fill_value(a, fill_value): |
| 166 | a = asanyarray(a) |
| 167 | if getattr(fill_value, "shape", ()): |
| 168 | raise ValueError("da.ma.set_fill_value doesn't support array `value`s") |
| 169 | fill_value = np.ma.core._check_fill_value(fill_value, a.dtype) |
| 170 | res = a.map_blocks(_set_fill_value, fill_value) |
| 171 | a.dask = res.dask |
| 172 | a._name = res.name |
| 173 | |
| 174 | |
| 175 | @derived_from(np.ma) |
nothing calls this directly
no test coverage detected