datascience.tables.Table.num_rows

property Table.num_rows

Computes the number of rows in a table

Returns:

integer value stating number of rows

Example:

>>> t = Table().with_columns({
...     'letter': ['a', 'b', 'c', 'z'],
...     'count':  [  9,   3,   3,   1],
...     'points': [  1,   2,   2,  10],
... })
>>> t.num_rows
4