numpy.ma.MaskedArray.__setslice__

MaskedArray.__setslice__(i, j, value)[source]

x.__setslice__(i, j, value) <==> x[i:j]=value

Set the slice (i,j) of a to value. If value is masked, mask those locations.