pandas.Series.dt.daysinmonth

Series.dt.daysinmonth[source]

The number of days in the month.