core.ascii_table

class core.ascii_table.ascii_table(df, style=<core.ascii_table.ascii_table.style object>, colors={}, sides={}, max_width: int | None = 35)[source]

Bases: object

A class to represent a table for displaying data in a formatted way.

print(live_print=False, no_color=False)[source]
class style(inner_vbar=True, inner_hbar=False, h_padding=1, v_padding=0, style: Literal['squared', 'rounded', 'simple', 'double'] = 'squared')[source]

Bases: object

A class to define the style of a table using specific characters.

to_string(live_print=False, no_color=True)[source]

Generates an ascii representation of the dataset provided in the constructor.