Set column attributes in Table¶
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.
SetColumnAttributesTable
[source]¶ Inputs: - attributes : table
Table with, at least, three column, one for column names, another for attribute names and a third for attribute values
- in_data : table
Table with data columns
Outputs: - out_data : table
Table with updated columns attributes
Configuration: - Clear existing attributes
Clear existing attributes before applying the operation.
- Column names
Select column with column names
- Attribute names
Select column with attributes
- Attribute values
Select column with values