masked_array.
dumps
Returns the pickle of the array as a string.pickle.loads or numpy.loads will convert the string back to an array.