Skip to content

New Feature Suggestion: Allow to add a separating line in the list of rows #160

Closed

Description

@jeromegit

In the same way that in some of the tablefmt there's a separating line between the header and the rest of the rows, it would be great to also allow the developer to add one or more separating lines in the list of rows.

Like this:

+---------+---------+---------+
| header1 | header2 | header3 |
+---------+---------+---------+
| sec1    | sec1    | sec1    |
| sec1    | sec1    | sec1    |
| sec1    | sec1    | sec1    |
+---------+---------+---------+ <<<< separating line between 2 sections
| sec2    | sec2    | sec2    |
| sec2    | sec2    | sec2    |
+---------+---------+---------+

Activity

  1. gomezschall commented on Jan 9, 2022

    @gomezschall

    I second this request. it should depend on the data of one column.
    for example, you could select lines that belong to a year period

  2. jeromegit commented on Jan 17, 2022

    @jeromegit
    Author

    @gomezschall, I forked the library here: https://github.com/jeromegit/python-tabulate but I also created a pull request and hopefully it gets accepted.

  3. added a commit that references this issue on Jun 22, 2022
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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions