pandas.Series.dt.daysinmonth# Series.dt.daysinmonth[source]# The number of days in the month. Deprecated since version 3.1.0: Use DatetimeIndex.days_in_month instead.