astro py:docs

- Index
- Modules

### Navigation

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

# broadcast_to

astropy.utils.masked.function_helpers.broadcast_to(array, shape, subok=False)

  Broadcast array to the given shape.

  Like `numpy.broadcast_to`, and applied to both unmasked data and mask. Note that `subok` is taken to mean whether or not subclasses of the unmasked data and mask are allowed, i.e., for `subok=False`, a `MaskedNDArray` will be returned.