# xarray.core.groupby.DataArrayGroupBy.fillna¶

DataArrayGroupBy.fillna(value)

Fill missing values in this object by group.

This operation follows the normal broadcasting and alignment rules that xarray 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 – Used to fill all matching missing values by group. Needs to be of a valid type for the wrapped object’s fillna method.

Returns

Return type

same type as the grouped object

Dataset.fillna(), DataArray.fillna()