datascience.tables.Table.__init__¶
- Table.__init__(labels=None, formatter=<datascience.formats.Formatter object>)[source]¶
Create an empty table with column labels.
>>> tiles = Table(make_array('letter', 'count', 'points')) >>> tiles letter | count | points
- Args:
labels
(list of strings): The column labels.formatter
(Formatter): An instance ofFormatter
thatformats the columns’ values.