xarray.Dataset.broadcast_like#

Dataset.broadcast_like(other, exclude=None)[source]#

Broadcast this DataArray against another Dataset or DataArray. This is equivalent to xr.broadcast(other, self)[1]

Parameters:
  • other (Dataset or DataArray) โ€“ Object against which to broadcast this array.

  • exclude (iterable of hashable, optional) โ€“ Dimensions that must not be broadcasted