pandas.Timestamp.utcfromtimestamp

pandas 3.1.1 · Arrays, scalars, and data types · method

Construct a UTC timestamp from seconds since the POSIX epoch.

Call syntax

Timestamp.utcfromtimestamp(ts)

Run the example

Edit the example and select Run Python to see the result.

Parameters

ParameterRequirementAccepted values and behavior
ts Required
Positional or keyword
float