pandas 1.4.2

AttributesMethodsParameters

Attributes

None :
warning

DatetimeArray is currently experimental, and its API may change without warning. In particular, :None:attr:`DatetimeArray.dtype` is expected to change to always be an instance of an ExtensionDtype subclass.

Methods

Parameters

values : Series, Index, DatetimeArray, ndarray

The datetime data.

For DatetimeArray :None:None:`values` (or a Series or Index boxing one), dtype and :None:None:`freq` will be extracted from :None:None:`values`.

dtype : numpy.dtype or DatetimeTZDtype

Note that the only NumPy dtype allowed is 'datetime64[ns]'.

freq : str or Offset, optional

The frequency.

copy : bool, default False

Whether to copy the underlying array of values.

Pandas ExtensionArray for tz-naive or tz-aware datetime data.

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: /pandas/core/arrays/datetimes.py#154
type: <class 'type'>
Commit: