astro py:docs

- Index
- Modules

### Navigation

- next »
- « previous |
- Astropy v5.2.1 »
- Astropy Core Package Utilities (`astropy.utils`) »
- Masked Values (`astropy.utils.masked`) »
- putmask

# putmask

astropy.utils.masked.function_helpers.putmask(a, mask, values)

  Changes elements of an array based on conditional and input values.

  Like `numpy.putmask`, but for masked array `a` and possibly masked `values`. Masked `mask` is not supported.