pandas 1.4.2

ParametersBackRef
_make_timeseries(start='2000-01-01', end='2000-12-31', freq='1D', seed=None)

Parameters

start : str or Timestamp, default "2000-01-01"

The start of the index. Passed to date_range with :None:None:`freq`.

end : str or Timestamp, default "2000-12-31"

The end of the index. Passed to date_range with :None:None:`freq`.

freq : str or Freq

The frequency to use for the DatetimeIndex

seed : int, optional

The random state seed.

Make a DataFrame with a DatetimeIndex

Examples

This example is valid syntax, but we were not able to check execution
>>> _make_timeseries()  # doctest: +SKIP
              id    name         x         y
timestamp
2000-01-01   982   Frank  0.031261  0.986727
2000-01-02  1025   Edith -0.086358 -0.032920
2000-01-03   982   Edith  0.473177  0.298654
2000-01-04  1009   Sarah  0.534344 -0.750377
2000-01-05   963   Zelda -0.271573  0.054424
...          ...     ...       ...       ...
2000-12-27   980  Ingrid -0.132333 -0.422195
2000-12-28   972   Frank -0.376007 -0.298687
2000-12-29  1009  Ursula -0.865047 -0.503133
2000-12-30  1000  Hannah -0.063757 -0.507336
2000-12-31   972     Tim -0.869120  0.531685
See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

pandas._testing._make_timeseries

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/_testing/__init__.py#414
type: <class 'function'>
Commit: