NumPy

numpy.ma.MaskType.tolist

method

MaskType.tolist()

Scalar method identical to the corresponding array attribute.

Please see ndarray.tolist.