Skip to content

print_table

Pretty-prints a table.

Parameters

  • headers

    TypeSequence[str]

    The column names.

  • columns

    TypeSequence[Sequence[str]]

    The column values.

  • order

    TypeIterable[int] | None

    DefaultNone

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