xarray.core.groupby.DataArrayGroupBy.first

DataArrayGroupBy.first(skipna=None, keep_attrs=True)

Return the first element of each group along the group dimension