Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Ctrl+K

pandas.PeriodIndex.day_of_week#

propertyPeriodIndex.day_of_week[source]#

The day of the week with Monday=0, Sunday=6.

Examples

>>>idx=pd.PeriodIndex(["2023-01-01","2023-01-02","2023-01-03"],freq="D")>>>idx.weekdayIndex([6, 0, 1], dtype='int64')

[8]ページ先頭

©2009-2025 Movatter.jp