For users
apply_ufunc
For developers/contributors
Community
DataArray.dt.
week
The week ordinal of the year