Series.dt.
daysinmonth
The number of days in the month.
pandas.Series.dt.is_leap_year
pandas.Series.dt.days_in_month