dataFrame.row — set()
Description
The set() method of the row object replaces the values of the selected column with the specified values.
Signature
dataFrame.row(rowIndex).set(values)Argument
rowIndex(number)- The index of the row to set values in.
values(array)- The values to assign to the selected row.
Example
// replace the values of the row 1
var rowIndex = 1;
var values = ['value 1','value 2'];
dataFrame.row(rowIndex).set(values);