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

Method mask

numpy/ma/core.py:3517–3524  ·  view source on GitHub ↗

Current mask.

(self)

Source from the content-addressed store, hash-verified

3515
3516 @property
3517 def mask(self):
3518 """ Current mask. """
3519
3520 # We could try to force a reshape, but that wouldn't work in some
3521 # cases.
3522 # Return a view so that the dtype and shape cannot be changed in place
3523 # This still preserves nomask by identity
3524 return self._mask.view()
3525
3526 @mask.setter
3527 def mask(self, value):

Callers

nothing calls this directly

Calls 2

__setmask__Method · 0.95
viewMethod · 0.45

Tested by

no test coverage detected