report.Table#
- class Table[source]#
Bases:
ReportItemRepresents a table within a report, with configurable data and headers.
Attributes
- data: list[str | Delta | DataItem]#
A list of table data entries, which can be either strings or Delta objects.
- formatter: str | list[str, optional], optional#
Formatter can be a single str (e.g. “.4g”) or a list of str of the same length as
data- Default:
None
Methods
- calculate_table_data(context)[source]#
Calculate raw table data (headers + rows) without formatting.