pandas 1.4.2

ParametersReturns

Parameters

arr : array of i8
tz : str, optional

convert to this timezone

freq : str/Offset, optional

freq to convert

fold : bint, default is 0

Due to daylight saving time, one wall clock time can occur twice when shifting from summer to winter time; fold describes whether the datetime-like corresponds to the first (0) or the second time (1) the wall clock hits the ambiguous time

versionadded
box : {'datetime', 'timestamp', 'date', 'time'}, default 'datetime'
  • If datetime, convert to datetime.datetime

  • If date, convert to datetime.date

  • If time, convert to datetime.time

  • If Timestamp, convert to pandas.Timestamp

Returns

ndarray[object] of type specified by box

Convert an i8 repr to an ndarray of datetimes, date, time or Timestamp.

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: None#None
type: <class 'builtin_function_or_method'>
Commit: