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
table
Data
- name
table
Name
Output ports
- data
table
Data
- Configuration:
- New names (name)
Column with new names
-
class
node_set_column_names.
SetColumnNamesInTableWithTable
[source]
Related nodes
Example flows