HistoryTimestamp
#
Bases: object
History view that exposes timestamps in milliseconds since the Unix epoch.
__contains__(key)
#
Return bool(key in self).
__eq__(value)
#
Return self==value.
__ge__(value)
#
Return self>=value.
__getitem__(key)
#
Return self[key].
__gt__(value)
#
Return self>value.
__iter__()
#
Implement iter(self).
__le__(value)
#
Return self<=value.
__lt__(value)
#
Return self<value.
__ne__(value)
#
Return self!=value.
__repr__()
#
Return repr(self).
__reversed__()
#
Iterate over all timestamps in reverse order.
Returns:
| Type | Description |
|---|---|
Iterator[int]
|
Iterator over timestamps (milliseconds since the Unix epoch) in reverse order. |
collect()
#
Collect all timestamps into a NumPy ndarray.
Returns:
| Type | Description |
|---|---|
NDArray[int64]
|
Timestamps in milliseconds since the Unix epoch. |
collect_rev()
#
Collect all timestamps into a NumPy ndarray in reverse order.
Returns:
| Type | Description |
|---|---|
NDArray[int64]
|
Timestamps in milliseconds since the Unix epoch in reverse order. |