A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pandas.pydata.org/docs/dev/user_guide/../reference/api/pandas.PeriodDtype.html below:

pandas.PeriodDtype — pandas 3.0.0.dev0+2243.g90b1c5d545 documentation

pandas.PeriodDtype#
class pandas.PeriodDtype(freq)[source]#

An ExtensionDtype for Period data.

This is not an actual numpy dtype, but a duck type.

Parameters:
freqstr or DateOffset

The frequency of this PeriodDtype.

Attributes

Methods

See also

Period

Represents a single time period.

PeriodIndex

Immutable index for period data.

date_range

Return a fixed frequency DatetimeIndex.

Series

One-dimensional array with axis labels.

DataFrame

Two-dimensional, size-mutable, potentially heterogeneous tabular data.

Examples

>>> pd.PeriodDtype(freq="D")
period[D]
>>> pd.PeriodDtype(freq=pd.offsets.MonthEnd())
period[M]

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