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

Method copy

numpy/ma/mrecords.py:416–423  ·  view source on GitHub ↗

Returns a copy of the masked record.

(self)

Source from the content-addressed store, hash-verified

414 self._hardmask = False
415
416 def copy(self):
417 """
418 Returns a copy of the masked record.
419
420 """
421 copied = self._data.copy().view(type(self))
422 copied._mask = self._mask.copy()
423 return copied
424
425 def tolist(self, fill_value=None):
426 """

Callers

nothing calls this directly

Calls 1

viewMethod · 0.45

Tested by

no test coverage detected