dataFrame.cell — set()

Description

The set() method of the cell object replaces the value stored in the selected cell.

Signature

dataFrame.cell(columnName, rowIndex).set(value)
Scope
dataFrame
Family
cell
Returns
mutates

Argument

columnName (string)
The name of the column that contains the target cell.
rowIndex (number)
The index of the row that contains the target cell.
value (any)
The value to assign to the target cell.

Example

// set a the value to the first cell in the 'revenue' column
df.cell('revenu', 1).set(1000);