Skip to content

print_table

Pretty-prints a table.

Parameters

  • headers

    Type → list[str]

    The column names.

  • columns

    Type → list[list[str]]

    The column values.

  • order

    Type → list[int] | None

    Default → None

    Order in which to print the column the values. Defaults to the order in which the values are given.