ISA Class

Constructor

ISA()

Methods

add_node

Adds a node (by instruction ID and node index) that already exists in the graph.

as_frame

Convert an ISA to a pandas DataFrame.

get
node_index

Returns the provenance graph node index for the given instruction ID.

satisfies

add_node

Adds a node (by instruction ID and node index) that already exists in the graph.

add_node(instruction_id, node_index)

Parameters

Name Description
instruction_id
Required
node_index
Required

as_frame

Convert an ISA to a pandas DataFrame.

as_frame() -> DataFrame

Parameters

Name Description
self
Required
ISA

The ISA to convert.

Returns

Type Description
<xref:pd.DataFrame>

A DataFrame with columns for id, encoding, arity, space, time, and error.

get

get(id, default=None)

Parameters

Name Description
id
Required
default
Default value: None

node_index

Returns the provenance graph node index for the given instruction ID.

node_index(id)

Parameters

Name Description
id
Required

satisfies

satisfies(requirements)

Parameters

Name Description
requirements
Required