xarray.core.accessor_dt.DatetimeAccessor.daysinmonth

DatetimeAccessor.daysinmonth

The number of days in the month