danfo.toDateTime
Converts an array of Date strings to Date object.
Last updated
Converts an array of Date strings to Date object.
Last updated
danfo.toDateTime(data)
Parameters | Type | Description | Default |
---|---|---|---|
In the following example, we convert a Series of Date strings to DateTime objects, so we can call various Date methods on them.
Date time properties of Series or datetime-like columns in DataFrame can be accessed via accessors in the dt name-space. See Accessors
data
Array, Series
data: Array
Series with Date strings to convert to Date time.