dataFrame.rows — add()
Description
The add() method of the rows object appends one or more rows to the DataFrame.
Signature
dataFrame.rows.add(values)Argument
rows(array)- The rows to add. Each inner array represents a row.
Example
// add rows to the dataFrame
var rows = [
[1, 2],
[3, 4]
];
dataFrame.rows.add(rows);