Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions tabulate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2231,6 +2231,19 @@ def tabulate(
+------------+------------+-------------------------------+

Header column width can be specified in a similar way using `maxheadercolwidths`.
Row alignment
-------------

`rowalign` controls the vertical alignment of cell text within
rows that contain multiline cells: shorter cells are padded with
blank lines so that their text sits at the "top" (the default),
"center", or "bottom" of the row. A single string applies to
every row; a list applies one alignment per row, starting from
the first row (`None` in the list means the default top
alignment for that row). Rows without multiline cells are
unaffected, since there is nothing to align within a single
line. Note that `rowalign` only takes effect in formats that
draw a line between rows, such as "grid" and "fancy_grid".

"""

Expand Down