The following node is available in the Open Source KNIME predictive analytics and data mining platform version 2.7.1. Discover over 1000 other nodes, as well as enterprise functionality at http://knime.com.

Add Empty Rows

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.

Dialog Options

Number of rows in output
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.
Fill Data
Specify the content of newly added rows. For common base types (Double, Int, String), choose either a fixed value or "Missing", which then fills in a missing value. Columns with another type than listed here are always filled with missing values.

Ports

Input Ports
0 Any input table
Output Ports
0 Input table augmented by additional rows
This node is contained in KNIME Base Nodes provided by KNIME GmbH, Konstanz, Germany.