class_docstr: Attributes
  ----------
  _data : recarray
      Underlying data, as a record array.
  _mask : boolean array
      Mask of the records. A record is masked when all its fields are
      masked.
  _fieldmask : boolean recarray
      Record array of booleans, setting the mask of each individual field
      of each record.
  _fill_value : record
      Filling values for each field.
class_docstr_tok: ["Attributes","--","--","--","--","--","_data",":","recarray","Underlying","data",",","as","a","record","array",".","_mask",":","boolean","array","Mask","of","the","records",".","A","record","is","masked","when","all","its","fields","are","masked",".","_fieldmask",":","boolean","recarray","Record","array","of","booleans",",","setting","the","mask","of","each","individual","field","of","each","record",".","_fill_value",":","record","Filling","values","for","each","field","."]
docstr: Return the internal state of the masked array.
  
  This is for pickling.
docstr_tok: ["Return","the","internal","state","of","the","masked","array",".","This","is","for","pickling","."]
code: def __getstate__(self):
      """Return the internal state of the masked array.
  
      This is for pickling.
  
      """
      state = (
          1,
          self.shape,
          self.dtype,
          self.flags.fnc,
          self._data.tobytes(),
          self._mask.tobytes(),
          self._fill_value,
      )
      return state
  
imports: from numpy.ma import MAError, MaskedArray, masked, nomask, masked_array, getdata, getmaskarray, filled
  import numpy.ma
  import warnings
  import numpy
  from numpy import dtype, ndarray, array
  from numpy._core.records import recarray, fromarrays, fromrecords
label_desc: Use image node_id 17 for calling the MaskedRecords obj's underlying member method code with example usage: obj.__getstate__() and returns: state