pandas 1.4.2

ParametersReturns
generate_regular_range(start: 'Timestamp | Timedelta', end: 'Timestamp | Timedelta', periods: 'int', freq: 'BaseOffset')

Parameters

start : Timedelta, Timestamp or None

First point of produced date range.

end : Timedelta, Timestamp or None

Last point of produced date range.

periods : int

Number of periods in produced date range.

freq : Tick

Describes space between dates in produced date range.

Returns

ndarray[np.int64] Representing nanoseconds.

Generate a range of dates or timestamps with the spans between dates described by the given :None:None:`freq` DateOffset.

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/_ranges.py#19
type: <class 'function'>
Commit: