- API reference
- pandas arrays, scalars, and data types
- pandas.Times...
pandas.Timestamp.fromtimestamp#
- classmethodTimestamp.fromtimestamp(ts)#
Transform timestamp[, tz] to tz’s local time from POSIX timestamp.
Examples
>>>pd.Timestamp.fromtimestamp(1584199972)Timestamp('2020-03-14 15:32:52')
Note that the output may change depending on your local time.
On this page