dataeval.types.SequenceOutput

class dataeval.types.SequenceOutput(data)

An Output that wraps a sequence and proxies its interface.

count(value)

S.count(value) -> integer – return number of occurrences of value

data()

Return the output data as a collection.

Return type:

Collection

index(value, start=0, stop=None)

S.index(value, [start, [stop]]) -> integer – return first index of value. Raises ValueError if the value is not present.

Supporting start and stop arguments is optional, but recommended.

meta()

Metadata about the execution of the function or method for the Output class.

Return type:

ExecutionMetadata