IntervalsIterable

Methods

MethodDescription
collectCollect intervals between each history's consecutive timestamps in milliseconds into a NumPy array.
to_listCollect intervals between each history's consecutive timestamps in milliseconds into a list.

Method Details

collect

Collect intervals between each history's consecutive timestamps in milliseconds into a NumPy array.

Returns

TypeDescription
list[NDArray[np.int64]]NumPy NDArray of intervals per history.

to_list

Collect intervals between each history's consecutive timestamps in milliseconds into a list.

Returns

TypeDescription
list[list[int]]List of intervals per history.