xarray.core.groupby.DataArrayGroupBy.last

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

Return the last element of each group along the group dimension