Set column names in Table with Table¶
Set column names from separate table column.
Documentation¶
Set column names in data table to new names from chosen column in the name table.
Since the new names are assigned based on indices, the number of rows in the name column must match the number of columns in the data table.
Example¶
Input data:
A |
B |
C |
|---|---|---|
0 |
1 |
2 |
Input names:
Names |
|---|
X |
Y |
Z |
Output data:
X |
Y |
Z |
|---|---|---|
0 |
1 |
2 |
Definition¶
Input ports¶
- data
Type: tableDescription: Data- name
Type: tableDescription: Name
Output ports¶
- data
Type: tableDescription: Data
Configuration¶
- New names (name)
Column with new names
Examples¶
Example flows demonstrating this node:
Implementation¶
- class node_set_column_names.SetColumnNamesInTableWithTable[source]