Movatterモバイル変換


[0]ホーム

URL:


Skip to main content
Ctrl+K

pandas.Timestamp.utcfromtimestamp#

classmethodTimestamp.utcfromtimestamp(ts)#

Construct a timezone-aware UTC datetime from a POSIX timestamp.

Notes

Timestamp.utcfromtimestamp behavior differs from datetime.utcfromtimestampin returning a timezone-aware object.

Examples

>>>pd.Timestamp.utcfromtimestamp(1584199972)Timestamp('2020-03-14 15:32:52+0000', tz='UTC')

[8]ページ先頭

©2009-2025 Movatter.jp