Insert an Empty Row

Inserts an empty row into the table at the specified row number.

Overview

This procedure inserts an empty row into a table. You can optionally specify a row number for the insertion; otherwise, the empty row is added at the end of the table.

Input Concepts

Concept
Type
Description
Default
Required

row number

int

The row number (1-based) at which the empty row should be inserted.

Defaults to the end of the table

No

Note: Table rows are numbered starting with the number 1.

Output Concepts

Concept
Description

table

The updated table with the new empty row inserted.

Examples

For the examples below, consider the following table:

Name
Type
Light-years

Orion

Nebula

1,344

Vega

Star

25

Titan

Moon

0.0008

1. Insert a Row Without Specifying Row Number

insert an empty row in the table

2. Insert a Row When Specifying a Row Number

insert an empty row in the table
    the row number is 1

Last updated

Was this helpful?