(
self, base_stats: Stats, head_stats: Stats | None = None
)
| 697 | return columns, rows |
| 698 | |
| 699 | def get_table( |
| 700 | self, base_stats: Stats, head_stats: Stats | None = None |
| 701 | ) -> tuple[Columns, Rows]: |
| 702 | if head_stats is None: |
| 703 | rows = self.calc_rows(base_stats) |
| 704 | return self.columns, rows |
| 705 | else: |
| 706 | rows_a = self.calc_rows(base_stats) |
| 707 | rows_b = self.calc_rows(head_stats) |
| 708 | cols, rows = self.join_tables(rows_a, rows_b) |
| 709 | return cols, rows |
| 710 | |
| 711 | |
| 712 | class Section: |
no test coverage detected