pyspark.pandas.DatetimeIndex.days_in_month

property DatetimeIndex.days_in_month

The number of days in the month.