system.dataset.addRow(dataset, [rowIndex], row)
Dataset dataset - The starting dataset. Please be aware that this dataset will not actually be modified (datasets are immutable), but rather will be the starting point for creating a new dataset.
Integer rowIndex - The index (starting at 0) at which to insert the new row. Will throw an IndexError if less than zero or greater than the length of the dataset. If omitted, the new row will be appended to the end. [optional]
List[Any] row - A Python sequence representing the data for the new row. Its length must equal the number of columns in the dataset.
Dataset - A new dataset with the new row inserted or appended.
Gateway, Vision Client, Perspective Session