bundles / numpy 2.5.0.dev0+git20251130.2de293a / numpy / ma / core / MaskedArray / _get_data
function
numpy.ma.core:MaskedArray._get_data
source: build-install/usr/lib/python3.14/site-packages/numpy/ma/core.py:3761
Signature
def _get_data(self)Summary
Returns the underlying data, as a view of the masked array.
Extended Summary
If the underlying data is a subclass of numpy.ndarray, it is returned as such.
>>> x = np.ma.array(np.matrix([[1, 2], [3, 4]]), mask=[[0, 1], [1, 0]]) >>> x.data matrix([[1, 2], [3, 4]])
The type of the data can be accessed through the baseclass attribute.
Aliases
numpy.ma.MaskedArray._get_data