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

Function _masked_array

dask/array/ma.py:121–124  ·  view source on GitHub ↗
(data, mask=np.ma.nomask, masked_dtype=None, **kwargs)

Source from the content-addressed store, hash-verified

119
120
121def _masked_array(data, mask=np.ma.nomask, masked_dtype=None, **kwargs):
122 if "chunks" in kwargs:
123 del kwargs["chunks"] # A Dask kwarg, not NumPy.
124 return np.ma.masked_array(data, mask=mask, dtype=masked_dtype, **kwargs)
125
126
127@derived_from(np.ma)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected