NumPy

numpy.ma.MaskType.item

method

MaskType.item()

Scalar method identical to the corresponding array attribute.

Please see ndarray.item.