Immutable ndarray holding ordinal values indicating regular periods in time.
Index keys are boxed to Period objects which carries the metadata (eg, frequency information).
Optional period-like data to construct index with.
One of pandas period strings or corresponding objects.
A dtype from which to extract a freq.
Make a copy of input ndarray.
Name of the resulting PeriodIndex.
Attributes
Methods
Passing the parameter data as a list without specifying either freq or dtype will raise a ValueError: âfreq not specified and cannot be inferredâ
Examples
>>> idx = pd.PeriodIndex(data=["2000Q1", "2002Q3"], freq="Q") >>> idx PeriodIndex(['2000Q1', '2002Q3'], dtype='period[Q-DEC]')
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4