MCPcopy Index your code
hub / github.com/numpy/numpy / _mrreconstruct

Function _mrreconstruct

numpy/ma/mrecords.py:453–460  ·  view source on GitHub ↗

Build a new MaskedArray from the information stored in a pickle.

(subtype, baseclass, baseshape, basetype,)

Source from the content-addressed store, hash-verified

451
452
453def _mrreconstruct(subtype, baseclass, baseshape, basetype,):
454 """
455 Build a new MaskedArray from the information stored in a pickle.
456
457 """
458 _data = np.ndarray.__new__(baseclass, baseshape, basetype).view(subtype)
459 _mask = np.ndarray.__new__(np.ndarray, baseshape, 'b1')
460 return subtype.__new__(subtype, _data, mask=_mask, dtype=basetype,)
461
462
463mrecarray = MaskedRecords

Callers

nothing calls this directly

Calls 2

viewMethod · 0.45
__new__Method · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…