xray.core.groupby.DatasetGroupBy.fillna

DatasetGroupBy.fillna(value)

Fill missing values in this object by group.

This operation follows the normal broadcasting and alignment rules that xray uses for binary arithmetic, except the result is aligned to this object (join='left') instead of aligned to the intersection of index coordinates (join='inner').

Parameters:

value : valid type for the grouped object’s fillna method

Used to fill all matching missing values by group.

Returns:

same type as the grouped object

See also

Dataset.fillna, DataArray.fillna