dataFrame.columns — remove()
Description
The remove() method of the columns object removes the selected columns from the DataFrame.
Signature
dataFrame.columns(...columnNames).remove()Argument
columnNames( string[] )- The name of the columns to be removed.
Example
// remove the columns 'revenue' and 'month' from the dataFrame
dataFrame.columns('revenue', 'month').remove();