For users
apply_ufunc
For developers/contributors
Community
DataArray.dt.
is_month_start
Indicates whether the date is the first day of the month.
previous
xarray.DataArray.dt.date
next
xarray.DataArray.dt.is_month_end