Match Table lengths¶
Ensure that two Tables match (i.e. have the same number of rows) by adding or removing rows in one of them.
Documentation¶
The Table connected to the upper input port is used as reference while the Table coming in through the lower port is the one that is going to be modified. The modification can either be a contraction or an extension of the Table depending if it is longer or shorter than the reference Table, respectively.
The extension will be preformed according to one of the following strategies:
Use last value
Fill with zeroes (or empty strings/dates or similar)
Fill with NaNs (or None or similar)
Definition¶
Input ports¶
- guide table
Guide
- input table
Input Table
Output ports¶
- output table
Length matched Table
Configuration¶
- Extend values (fill)
Specify the values to use if the input has to be extended.
Examples¶
Implementation¶
- class node_match_tables.MatchTwoTables[source]