# numpy.ma.MaskedArray.dtype

property

property ma.MaskedArray.dtype

  Data-type of the array’s elements.

  Parameters
    None
  Returns
    d numpy dtype object

  See also

  `numpy.dtype`

  Examples

      >>> x
      array([[0, 1],
             [2, 3]])
      >>> x.dtype
      dtype('int32')
      >>> type(x.dtype)
      <type 'numpy.dtype'>

previous

numpy.ma.MaskedArray.ctypes

next

numpy.ma.MaskedArray.flags