class pandas.PeriodDtype
[source]
An ExtensionDtype for Period data.
This is not an actual numpy dtype, but a duck type.
Parameters: |
|
---|
>>> pd.PeriodDtype(freq='D') period[D]
>>> pd.PeriodDtype(freq=pd.offsets.MonthEnd()) period[M]
freq | The frequency object of this PeriodDtype. |
None |
© 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.PeriodDtype.html