For users
apply_ufunc
For developers/contributors
Community
DataArray.dt.
is_year_start
Indicate whether the date is the first day of a year.
previous
xarray.DataArray.dt.is_quarter_end
next
xarray.DataArray.dt.is_leap_year