Reference getColumn()

getColumn()

Warning

p5.Table will be removed in a future version of p5.js to make way for a new, friendlier version :)

Retrieves all values in the specified column, and returns them as an array. The column may be specified by either its ID or title.

Examples

Syntax

getColumn(column)

Parameters

column
String|Number: String or Number of the column to return

Returns

Array: Array of column values
Notice any errors or typos? Please let us know. Please feel free to edit src/io/p5.Table.js and open a pull request!

Related References