dataFrame.column — clear()
Description
The clear() method of the column object clears all data values in the selected column while preserving the column name.
Signature
dataFrame.column(columnName).clear()Argument
columnName(string)- The name of the column to clear.
Example
// clear the values of a 'revenue' column of the dataFrame
df.column('revenue').clear();