xarray.Dataset.combine_first¶
-
Dataset.
combine_first
(other)¶ Combine two Datasets, default to data_vars of self.
The new coordinates follow the normal broadcasting and alignment rules of
join='outer'
. Vacant cells in the expanded coordinates are filled with np.nan.- Parameters
- otherDataArray
Used to fill all matching missing values in this array.
- Returns
- DataArray