NumPy
ma.MaskType.itemset
method
Scalar method identical to the corresponding array attribute.
Please see ndarray.itemset.
ndarray.itemset