Period.daysinmonth
Get the total number of days of the month that the Period falls in.
Returns: |
|
---|
See also
Period.days_in_month
Period.dayofyear
>>> p = pd.Period("2018-03-11", freq='H') >>> p.daysinmonth 31
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.25.0/reference/api/pandas.Period.daysinmonth.html