dataFrame.column — remove()

Description

The remove() method of the column object removes the selected column from the DataFrame.

Signature

dataFrame.column(columnName).remove()
Scope
dataFrame
Family
column
Returns
mutates

Argument

columnName (string)
The name of the column to remove.

Example

// remove the entire 'revenue' column of the dataFrame
dataFrame.column('revenue').remove();