dataFrame.row — copyTo()
Description
The copyTo() method of the row object copies the values of the selected row to the specified target row.
Signature
dataFrame.row(sourceRowIndex).copyTo(targetRowIndex)Argument
sourceRowIndex(number)- The index of the origin row.
targetRowIndex(number)- The index of the destination row.
Example
// copy of the row 1 into the row 2
dataFrame.row(1).copyTo(2);