yr.table
table(
data: object = None,
border: bool | Literal['horizontal'] = True,
) → TableStreamRender a table.
Parameters
data
type: object = None
Table data. Accepts pandas DataFrames, dicts of column
lists, lists of dicts, lists of lists, or any iterable that
can be converted to rows. Pass None for an empty table.
border
type: bool | Literal['horizontal'] = True
True for full borders, False for none, or
"horizontal" for horizontal lines only.
Returns
type: TableStream
A TableStream handle whose add_rows method appends rows to the same table.