ReportItem¶
ReportItem
dataclass
¶
A small, reusable result and presentation metadata.
A report assigns an ID on insertion; one item can be reused in several
reports without changing the original item. content is an already
aggregated table, a Matplotlib figure, or rendered SVG, not source rows.
A report item contains an already-aggregated polars table, static Matplotlib figure, or short text. Prefer obtaining it from a Profile method rather than constructing one manually.
Example¶
item = p.frequency('enctype')
report.add(item)