pandas.Period.day¶
- Period.day¶
Get day of the month that a Period falls on.
- Returns
- int
See also
Period.dayofweekGet the day of the week.
Period.dayofyearGet the day of the year.
Examples
>>> p = pd.Period("2018-03-11", freq='H') >>> p.day 11
Get day of the month that a Period falls on.
See also
Period.dayofweekGet the day of the week.
Period.dayofyearGet the day of the year.
Examples
>>> p = pd.Period("2018-03-11", freq='H')
>>> p.day
11