# xarray.IndexVariable.where

#### IndexVariable.where(cond, other=<NA>)[[source]](https://github.com/pydata/xarray/blob/main/xarray/core/variable.py#L1950-L1951)
