For users
apply_ufunc
For developers/contributors
Community
DataArray.dt.
week
The week ordinal of the year
previous
xarray.DataArray.dt.weekofyear
next
How do I …