from tinytab import Table
tbl = Table({"item": ["coffee", "bagel"], "price": [3.5, 2.25]})
tbl| item | price |
|---|---|
| coffee | 3.5 |
| bagel | 2.25 |
A small, column-oriented table.
Usage
data: Mapping[str, Sequence[Any]]Create a table from a dictionary of columns. In a notebook, or on a page like this one, a table displays as HTML: