p5.js Table removeColumn() Method
The removeColumn() method of p5.Table in p5.js is used to remove the given column from a table. The column to remove can be specified by either using its title or its index value (column ID).
removeColumn( column )
Parameters: This function accepts a single parameter as mentioned above and described below:
- column: It is a String or Number that denotes the name of the column or the column ID to remove.
Below example illustrates the removeColumn() function in p5.js:
Online editor: https://editor.p5js.org/