MCPcopy Create free account
hub / github.com/numpy/numpy / _get_fieldmask

Function _get_fieldmask

numpy/ma/mrecords.py:79–83  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

77
78
79def _get_fieldmask(self):
80 mdescr = [(n, '|b1') for n in self.dtype.names]
81 fdmask = np.empty(self.shape, dtype=mdescr)
82 fdmask.flat = tuple([False] * len(mdescr))
83 return fdmask
84
85
86class MaskedRecords(MaskedArray):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected