pandas.Series.dt.days_in_month

Series.dt.days_in_month[source]

The number of days in the month.