For users
apply_ufunc
For developers/contributors
Community
DataArrayGroupBy.
first
Return the first element of each group along the group dimension