### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Masked array operations »

# numpy.ma.masked_object

`numpy.ma.``masked_object`(x, value, copy=True, shrink=True)

  Mask the array x where the data are exactly equal to value.

  This function is suitable only for object arrays: for floating point, please use `masked_values`_ instead.

  Parameters: | x : array_like Array to mask value : var Comparison value copy : {True, False}, optional Whether to return a copy of x. shrink : {True, False}, optional Whether to collapse a mask full of False to nomask

### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Masked array operations »