HJoin Table¶
The operation of horizontal join, or HJoin, stacks the columns in the incoming Tables horizontally beside each other. The outgoing Table will have all the columns from all the incoming Tables.
If the setting ‘Complement missing rows’ is false then all Tables that should be joined must have the same number of rows. Otherwise, Tables with different number of rows are padded with masked values.
If a column name exists in both inputs the latter Table (or lower port) will take precedence and the corresponding column from the former Table (or upper port) will be lost.
The node always tries to give the output table a name, so if the chosen port has a table without name, the other port will be used. This is to preserve backwards compatibility.
-
class
node_hjoin_tables.
HJoinTable
[source]¶ Horizontal join of two Tables into a single Table.
Opposite node: Inputs: - port1 : table
Input Table 1
- port2 : table
Input Table 2
Outputs: - port1 : table
Table with horizontally joined data
Configuration: - Rename duplicate columns
If true columns with same name as an earlier column will be renamed and joined, otherwise columns will overwrite existing data
- Complement missing rows
Select if rows that are not represented in all Tables should be complemented with masked values
- Input port name for joined table
Select which port decides the output table(s) names