xarray.core.groupby.DatasetGroupBy.first

DatasetGroupBy.first(skipna=None, keep_attrs=None)

Return the first element of each group along the group dimension