Set Table attributes

The Table data type includes an additional container, besides the data container, for storing attributes. An attribute is stored as a scalar value together with a header.

The standard library contains two nodes for setting and getting Table attributes.

class node_attributes_tables.SetTableAttributes[source]

Set the attributes in Table with the headers and values in another Table, only the values on the first row.

Inputs:
attributes
: table

A Table with attributes along the columns. Only the first row of the Table will be imported as attributes, due to that an attribute is defined to be a scalar value

in_data
: table

Table with data

Outputs:
out_data
: table

Table with updated attribute container