Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Ctrl+K

pandas.Period.week#

Period.week#

Get the week of the year on the given Period.

Returns:
int

See also

Period.dayofweek

Get the day component of the Period.

Period.weekday

Get the day component of the Period.

Examples

>>>p=pd.Period("2018-03-11","h")>>>p.week10
>>>p=pd.Period("2018-02-01","D")>>>p.week5
>>>p=pd.Period("2018-01-06","D")>>>p.week1

[8]ページ先頭

©2009-2025 Movatter.jp