dataFrame.cell — clear()

Description

The clear() method of the cell object removes the value stored in the selected cell.

Signature

dataFrame.cell(columnName, rowIndex).clear()
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.

Example

// remove the value of the first cell in the 'revenue' column
df.cell('revenu', 1).clear();