Extracts a column of data from a table.
COL(a, column)
a |
- |
A series or table. |
column |
- |
An integer. The column number to extract. |
A series.
W1: {{1, 4, 6},
{2, 5, 7},
{3, 6, 8}}
col(W1, 2)
returns {4, 5, 6}
W1: {{1, 4, 6},
{2, 5, 7},
{3, 6, 8}}
W1[.., 2]
returns {4, 5, 6}
The COL function may be used with any graph style, not only the table view, to extract a particular series of data from a multi-series set. To extract more than a single column at a time, use the REGION function.
See .. (Range Specifier) for more example of the array syntax method for extracting one or more rows and/or columns.