Skip to content

Feature request: column separators #357

Description

@lypwig

It could be practical to have column separators.

Syntax proposal:

print(tabulate(table, headers=[["item", "qty", "foo"], ["bar", "baz"]]))

Could give, using fancy_outline format:

╒════════╤═══════╤═════╦═════╤═════╕
│ item   │ qty   │ foo ║ bar │ baz │
╞════════╪═══════╪═════╬═════╪═════╡
│ spam   │ 42    │ a   ║ d   │ g   │
│ eggs   │ 451   │ b   ║ e   │ h   │
│ bacon  │ 0     │ c   ║ f   │ i   │
╘════════╧═══════╧═════╩═════╧═════╛

Related to #275

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions