Report.section

section

section(title: str) -> Iterator[Report]

Group subsequent additions under a named heading.

Example

with report.section('Baseline characteristics'):
    report.add(p.summary('age'))
    report.add(p.histogram('age'))

← Reports API