pandas.PeriodIndex.day#
- property PeriodIndex.day[source]#
The days of the period.
See also
PeriodIndex.day_of_weekThe day of the week with Monday=0, Sunday=6.
PeriodIndex.day_of_yearThe ordinal day of the year.
PeriodIndex.dayofweekThe day of the week with Monday=0, Sunday=6.
PeriodIndex.dayofyearThe ordinal day of the year.
PeriodIndex.days_in_monthThe number of days in the month.
PeriodIndex.daysinmonthThe number of days in the month.
PeriodIndex.weekdayThe day of the week with Monday=0, Sunday=6.
Examples
>>> idx = pd.PeriodIndex(['2020-01-31', '2020-02-28'], freq='D') >>> idx.day Index([31, 28], dtype='int64')