pandas.Timestamp.fromisoformat

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

Create a timestamp from a supported ISO date or datetime string.

Call syntax

Timestamp.fromisoformat(date_string)

Run the example

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

Parameters

ParameterRequirementAccepted values and behavior
date_string Required
Positional or keyword
str

Returns

Timestamp