numpy.ma.MaskedArray.setstate — NumPy v1.11 Manual (original) (raw)
- Scipy.org
- Docs
- NumPy v1.11 Manual
- NumPy Reference
- Array objects
- Masked arrays
- Constants of the numpy.ma module
- index
- next
- previous
MaskedArray.__setstate__(state)[source]¶
Restore the internal state of the masked array, for pickling purposes. state is typically the output of the__getstate__ output, and is a 5-tuple:
- class name
- a tuple giving the shape of the data
- a typecode for the data
- a binary string for the data
- a binary string for the mask.
Previous topic
numpy.ma.MaskedArray.__reduce__