numpy.ma.MaskedArray.__setitem__#

方法

ma.MaskedArray.__setitem__(indx, value)[原始碼]#

x.__setitem__(i, y) <==> x[i]=y

設定由索引描述的項目。如果值被遮罩,則遮罩這些位置。