Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Ctrl+K

pandas.PeriodDtype#

classpandas.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

freq

The frequency object of this PeriodDtype.

Methods

None

Examples

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

[8]ページ先頭

©2009-2025 Movatter.jp