Constant Value Row Appender

Adds a certain number of empty rows with missing values (or a constant) to the input table. This can be useful when used in a report table to ensure that a table has a minimum number of rows, which are then shown as blank rows. The content of the appended rows can be defined in the dialog, the default is to fill the corresponding cells with missing values. Note that the reporting engine allows you to format cells containing missing values (or any other specific value) using the "Map" feature. For instance, if you want to format missing values (shown as NaN in the report) as blank fields, add a map rule isNaN(row["Column x"]), which needs to evaluate to True.

Options

Mode
Choose whether to add a fixed number of rows to the input table ("Additional"), independent of the input table's row count; or to add rows to the table only in case there are less rows than indicated ("At least"). The latter will not change the input table if there are already more rows than specified in the corresponding field.
Count
Number of rows to add or minimum number of rows in the output table.
RowID prefix
Prefix for the RowIDs of newly added rows.
Number (Float)
Fill value for Float columns in newly added rows.
Number (Integer)
Fill value for Integer columns in newly added rows.
String
Fill value for String columns in newly added rows.

Input Ports

Icon
Any input table

Output Ports

Icon
Input table augmented by additional rows

Views

This node has no views

Workflows

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.