datascience.tables.Table.columns¶
- property Table.columns¶
Return a tuple of columns, each with the values in that column.
- Returns:
tuple of columns
Example:
>>> t = Table().with_columns({ ... 'letter': ['a', 'b', 'c', 'z'], ... 'count': [ 9, 3, 3, 1], ... 'points': [ 1, 2, 2, 10], ... }) >>> t.columns (array(['a', 'b', 'c', 'z'], dtype='<U1'), array([9, 3, 3, 1]), array([ 1, 2, 2, 10]))