pandas.PeriodIndex.day

property PeriodIndex.day[source]

The days of the period.

Examples

>>> idx = pd.PeriodIndex(['2020-01-31', '2020-02-28'], freq='D')
>>> idx.day
Index([31, 28], dtype='int64')