pandas.Period.daysinmonth — pandas 2.2.3 documentation (original) (raw)
Period.daysinmonth#
Get the total number of days of the month that this period falls on.
Returns:
int
Examples
p = pd.Period("2018-03-11", freq='h') p.daysinmonth 31
Period.daysinmonth#
Get the total number of days of the month that this period falls on.
Returns:
int
Examples
p = pd.Period("2018-03-11", freq='h') p.daysinmonth 31