method
ma.MaskedArray.
__setstate__
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:
state
__getstate__
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.