pandas.Series.dt.daysinmonth

Series.dt.daysinmonth

The number of days in the month.