### Navigation

- index
- modules |
- modules |
- next |
- previous |
- NumPy v1.7 Manual (DRAFT) »
- NumPy Reference »
- Array objects »
- Masked arrays »
- Constants of the `numpy.ma` module »

# numpy.ma.MaskedArray.__setslice__

`MaskedArray.``__setslice__`(i, j, value)

  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.

### Navigation

- index
- modules |
- modules |
- next |
- previous |
- NumPy v1.7 Manual (DRAFT) »
- NumPy Reference »
- Array objects »
- Masked arrays »
- Constants of the `numpy.ma` module »