python-tabulate icon indicating copy to clipboard operation
python-tabulate copied to clipboard

Pretty-print tabular data in Python, a library and a command-line utility. Repository migrated from bitbucket.org/astanin/python-tabulate.

Results 155 python-tabulate issues
Sort by recently updated
recently updated
newest added

Fix #207 * Change usage example to reconcile with the insertion-order preservation of dictionaries * Document a long-existing feature of using a dictionary as the header for a list of...

Fix #124. Also related to #208 and #191. This is to provide an additional message to the user when the program throws a `... is not iterable` exception. Two blocks...

Code to reproduce: ```python from tabulate import tabulate, SEPARATING_LINE table = [["1", "one"], # "1" as a str on purpose [1_000, "one K"], SEPARATING_LINE, [1_000_000, "one M"]] print(tabulate(table, tablefmt="psql")) ```...

Hello, thanks for providing Tabulate. It makes life for Terminal junkies easier. I have dataframe with long text in each cell. The problem is tabulate wants to print/show all the...

When i use SEPARATING_LINE in 'mixed_grid' or 'simple_outline', i get an extra row (according to the docs, this is how the separator is done for some styles). However, i noticed...

Hi, while using tabulate with Python 3.10, my app crashed w/ the exception: ``` File "/home/jerome/miniconda3/envs/streamlit/lib/python3.10/site-packages/tabulate.py", line 7, in from collections import namedtuple, Iterable ImportError: cannot import name 'Iterable' from...

I get the warning ``` [python]/3.10.3/lib/python3.10/site-packages/tabulate/__init__.py:108: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison or (len(row) >= 2 and row[1] == SEPARATING_LINE) ```...

Two changes: * If the user passes more entries in `colalign` than there are columns, quietly drop the extra alignment parameters. Closes #84 and #89. My original suggestion was to...

enhancement

It would be nice to have an analog to SEPARATING_LINE for columns. Even more flexible: possibility to explicitly override any seperation in the table with any specific character or `tablefmt`.

Adding configuration options for _CustomTextWrap used in the maxcolwidths option.