astro py:docs

- Index
- Modules

### Navigation

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

# select

astropy.utils.masked.function_helpers.select(condlist, choicelist, default=0)

  Return an array drawn from elements in choicelist, depending on conditions.

  Like `numpy.select`, with masks in `choicelist` are propagated. Any masks in `condlist` are ignored.