astro py:docs

- Index
- Modules

### Navigation

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

# put

astropy.utils.masked.function_helpers.put(a, ind, v, mode='raise')

  Replaces specified elements of an array with given values.

  Like `numpy.put`, but for masked array `a` and possibly masked value `v`. Masked indices `ind` are not supported.