pandas.Series.dt.daysinmonth

Series.dt.daysinmonth

The number of days in the month

New in version 0.16.0.