numpy.ma
numpy.ma.MaskedArray.dump
numpy.ma.MaskedArray.all
MaskedArray.
dumps
Returns the pickle of the array as a string. pickle.loads or numpy.loads will convert the string back to an array.