0 ×

Add Empty Rows

KNIME Base Nodes version 4.0.1.v201908131444 by KNIME AG, Zurich, Switzerland

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

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.

Input Ports

Any input table

Output Ports

Input table augmented by additional rows

Best Friends (Incoming)

Best Friends (Outgoing)

Workflows

Installation

To use this node in KNIME, install KNIME Base Nodes from the following update site:

KNIME 4.0
Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform.