numpy.ma.masked_array.raw_data

masked_array.raw_data()

Return the data part of the masked array.

DEPRECATED: You should really use .data instead.

Examples

>>> x = np.ma.array([1, 2, 3], mask=[False, True, False])
>>> x
masked_array(data = [1 -- 3],
             mask = [False  True False],
       fill_value = 999999)
>>> x.data
array([1, 2, 3])

This Page