Set Table Cell Value

Description

This functor inserts a value into a table.

Inputs

Name	Type	Description
Table	Table	Table where the value will be inserted.
Column	Index Or Name	Name or index of the column where the new value will be inserted.
Keys	Tuple	Corresponding key of the cell row.
Value	Table Value	Value that will be inserted into the table.

Outputs

Name	Type	Description
Result	Table	The resulting table containing the new column.

Group

Table

Notes

This functor adds an empty column of the given type at the given position. For example, given the table below

Key1*	Key2*	Value1	Value2
1	2	2.2	3.1
1	3	2.1	3.1
1	6	1.2	4.2
2	2	3.2	6.1

adding a column named “New_Column” of type “Real” at position 2 yields

Key1*	New_Column*	Key2*	Value1	Value2
1	0.0	2	2.2	3.1
1	0.0	3	2.1	3.1
1	0.0	6	1.2	4.2
2	0.0	2	3.2	6.1

Internal Name

AddTableColumn