neuralib.util.table.rich_table

neuralib.util.table.rich_table(self, *headers, title=None, caption=None, width=None, min_width=None, box=Box(...), safe_box=None, padding=(0, 1), collapse_padding=False, pad_edge=True, expand=False, show_header=True, show_footer=False, show_edge=True, show_lines=False, leading=0, style='none', row_styles=None, header_style='table.header', footer_style='table.footer', border_style=None, title_style=None, caption_style=None, title_justify='center', caption_justify='center', highlight=False)
Parameters:
  • headers (Column | str)

  • title (str | Text | None)

  • caption (str | Text | None)

  • width (int | None)

  • min_width (int | None)

  • box (Box | None)

  • safe_box (bool | None)

  • padding (int | Tuple[int] | Tuple[int, int] | Tuple[int, int, int, int])

  • collapse_padding (bool)

  • pad_edge (bool)

  • expand (bool)

  • show_header (bool)

  • show_footer (bool)

  • show_edge (bool)

  • show_lines (bool)

  • leading (int)

  • style (str | Style)

  • row_styles (Iterable[str | Style] | None)

  • header_style (str | Style | None)

  • footer_style (str | Style | None)

  • border_style (str | Style | None)

  • title_style (str | Style | None)

  • caption_style (str | Style | None)

  • title_justify (JustifyMethod)

  • caption_justify (JustifyMethod)

  • highlight (bool)

Return type:

None