Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Ctrl+K

pandas.Timestamp.weekday#

Timestamp.weekday()#

Return the day of the week represented by the date.

Monday == 0 … Sunday == 6.

Examples

>>>ts=pd.Timestamp('2023-01-01')>>>tsTimestamp('2023-01-01  00:00:00')>>>ts.weekday()6

[8]ページ先頭

©2009-2025 Movatter.jp