### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Masked array operations »

# numpy.ma.getdata

`numpy.ma.``getdata`(a, subok=True)

  Return the _data part of a if a is a MaskedArray, or a itself.

  Parameters: | a : array_like A ndarray or a subclass of. subok : {True, False}, optional Whether to force the output to a ‘pure’ ndarray (False) or to return a subclass of ndarray if approriate (True).

### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Masked array operations »