MCPcopy Create free account
hub / github.com/dask/dask / _set_fill_value

Function _set_fill_value

dask/array/ma.py:157–161  ·  view source on GitHub ↗
(x, fill_value)

Source from the content-addressed store, hash-verified

155
156
157def _set_fill_value(x, fill_value):
158 if isinstance(x, np.ma.masked_array):
159 x = x.copy()
160 np.ma.set_fill_value(x, fill_value=fill_value)
161 return x
162
163
164@derived_from(np.ma)

Callers

nothing calls this directly

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected