Skip to main content

Add column from list

Add a column at the start, the end or a zero-based position, filled with the items of a list row by row; a longer list adds rows.

Command in the Data Table toolkit · id ooa.datatable/add_column_from_list · 4 inputs (3 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
TableTableYesTable to add the column to.
ListListYesItems for the new column: the first item goes in the first row, and so on. Rows beyond the list stay empty.
NameStringYesNew column name.
PositionNumberNoZero-based column position (0 = first); at the end when empty.

Outputs​

OutputTypeWhat it is
tableTableUpdated table.