MCPcopy
hub / github.com/numpy/numpy / _mareconstruct

Function _mareconstruct

numpy/ma/core.py:6534–6541  ·  view source on GitHub ↗

Internal function that builds a new MaskedArray from the information stored in a pickle.

(subtype, baseclass, baseshape, basetype,)

Source from the content-addressed store, hash-verified

6532
6533
6534def _mareconstruct(subtype, baseclass, baseshape, basetype,):
6535 """Internal function that builds a new MaskedArray from the
6536 information stored in a pickle.
6537
6538 """
6539 _data = ndarray.__new__(baseclass, baseshape, basetype)
6540 _mask = ndarray.__new__(ndarray, baseshape, make_mask_descr(basetype))
6541 return subtype.__new__(subtype, _data, mask=_mask, dtype=basetype,)
6542
6543
6544class mvoid(MaskedArray):

Callers

nothing calls this directly

Calls 2

make_mask_descrFunction · 0.85
__new__Method · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…