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).

Previous topic

numpy.ma.getmaskarray

Next topic

numpy.ma.nonzero

This Page

Quick search