kappa_sdk.DataEnumeration#
- class kappa_sdk.DataEnumeration(vectors, last_points)[source]#
Result produced by the
DataEnumerator.Inherited from the list, it allows iterating over a list of
DataEnumeratorPoint, and also contains the last common date of data enumeration inputs.Note
Should not be instantiated directly.
Attributes
Returns the last common date of the enumerated inputs.
Returns the last points of the enumerated inputs.
class: 'Vector'
Methods
DataEnumeration.append(object, /)Append object to the end of the list.
DataEnumeration.clear()Remove all items from list.
DataEnumeration.copy()Return a shallow copy of the list.
DataEnumeration.count(value, /)Return number of occurrences of value.
DataEnumeration.extend(iterable, /)Extend list by appending elements from the iterable.
DataEnumeration.index(value[, start, stop])Return first index of value.
DataEnumeration.insert(index, object, /)Insert object before index.
DataEnumeration.pop([index])Remove and return item at index (default last).
DataEnumeration.remove(value, /)Remove first occurrence of value.
DataEnumeration.reverse()Reverse IN PLACE.
DataEnumeration.sort(*[, key, reverse])Sort the list in ascending order and return None.
- Parameters:
vectors (List[Vector])
last_points (List[DataPoint])
- __init__(vectors, last_points)[source]#
- Parameters:
vectors (List[Vector])
last_points (List[DataPoint])
- Return type:
None
- property last_points: List[DataPoint]#
Returns the last points of the enumerated inputs.
- property last_common_date: datetime#
Returns the last common date of the enumerated inputs.