TemporalProperty
#
Bases: object
A view of a temporal property
history
property
#
Returns a history object which contains time entries for when the property was updated.
Returns:
| Type | Description |
|---|---|
History
|
|
__eq__(value)
#
Return self==value.
__ge__(value)
#
Return self>=value.
__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).
at(t)
#
average()
#
Compute the average of all property values. Alias for mean().
Returns:
| Type | Description |
|---|---|
PropValue
|
The average of each property values, or None if count is zero. |
items()
#
max()
#
mean()
#
Compute the mean of all property values. Alias for mean().
Returns:
| Type | Description |
|---|---|
PropValue
|
The mean of each property values, or None if count is zero. |
median()
#
min()
#
ordered_dedupe(latest_time)
#
sum()
#
Compute the sum of all property values.
Returns:
| Type | Description |
|---|---|
PropValue
|
The sum of all property values. |
values()
#
Get the property values for each update.
Returns:
| Type | Description |
|---|---|
NumpyArray
|
|