def add_section(self) -> None:
        """Add a new section (draw a line after current row)."""

        if self.rows:
            self.rows[-1].end_section = True
Add a new section (draw a line after current row).
rich/table.py