VSplit Table with Table

../../../../_images/vsplit_table_table.svg

Uses a list of indices or boolean values to split a table.

If given a table of integers, then all intervals between each successive set of integers will be kept as one table.

If given a table of booleans, then a table is created for each consecutive sequence of true values.

Definition

Input ports

value table

Value table

index table

Index table, must contain integer values for the rows to split at or a boolean value mask for the areas to keep

Output ports

out [table]

Result tables

Configuration

Select indexing column (index column)

Select column used for indexing.

Offset (offset)

Offset subtracted from indices before splitting. Use offset=1 to have indexes where the first row starts at one. For boolean values, toggles between keeping only positive intervals (offset=0), negative (offset=1) or all (offset>1)

Examples

Implementation

class node_split_table_table.VSplitTableWithTable[source]