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: Calculates the string representation.
docstr_tok: ["Calculates","the","string","representation","."]
code: def __str__(self):
      """
      Calculates the string representation.
  
      """
      if self.size > 1:
          mstr = [
              f"({','.join([str(i) for i in s])})"
              for s in zip(
                  *[getattr(self, f) for f in self.dtype.names]
              )
          ]
          return f"[{', '.join(mstr)}]"
      else:
          mstr = [
              f"{','.join([str(i) for i in s])}"
              for s in zip([getattr(self, f) for f in self.dtype.names])
          ]
          return f"({', '.join(mstr)})"
  
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 10 for calling the MaskedRecords obj's underlying member method code with example usage: obj.__str__() and returns: str, str, str, str, str, str