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
Type: table
Description: Value table
index
Type: table
Description: 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
Type: [table]
Description: 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

Example flows demonstrating this node:

Implementation

class node_split_table_table.VSplitTableWithTable[source]