NestedHistoryTimestampIterable
Methods
| Method | Description |
|---|
collect | Collect timestamps for each history in each nested iterable into a NumPy array. |
flatten | Flatten the nested iterable of history objects into a single NumPy NDArray of all contained timestamps. |
flattened_list | Flatten the nested iterable of history objects into a single list of all contained timestamps. |
to_list | Collect timestamps for each history in each nested iterable into a list. |
Method Details
Collect timestamps for each history in each nested iterable into a NumPy array.
Returns
| Type | Description |
|---|
list[list[NDArray[np.int64]]] | NumPy NDArray of timestamps in milliseconds per nested history. |
Flatten the nested iterable of history objects into a single NumPy NDArray of all contained timestamps.
Returns
| Type | Description |
|---|
NDArray[np.int64] | NumPy NDArray of timestamps in milliseconds. |
Flatten the nested iterable of history objects into a single list of all contained timestamps.
Returns
| Type | Description |
|---|
| list[int] | List of timestamps in milliseconds. |
Collect timestamps for each history in each nested iterable into a list.
Returns
| Type | Description |
|---|
| list[list[list[int]]] | List of timestamps in milliseconds per nested history. |