class pandas.arrays.PeriodArray(values, freq=None, dtype=None, copy=False)
[source]
Pandas ExtensionArray for storing Period data.
Users should use period_array()
to create new instances.
Parameters: |
|
---|
See also
period_array
PeriodIndex
There are two components to a PeriodArray
The values are physically stored as a 1-D ndarray of integers. These are called “ordinals” and represent some kind of offset from a base.
The freq
indicates the span covered by each element of the array. All elements in the PeriodArray have the same freq
.
None |
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.arrays.PeriodArray.html