python-tabulate
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.
I am using `tabulate 0.9.0` with Python 3.10.11 and when printing a table I receive the following warning: ``` /home/bartoli/miniconda3/envs/temp/lib/python3.10/site-packages/tabulate/__init__.py:108: FutureWarning: elementwise comparison failed; returning scalar instead, but in the...
I think I'm running into the issue mentioned under **ANSI Support**. When using the **blessed** module for coloring, the column widths are way off, so I checked the actual string...
Using tabulate to print a list of dataclasses when one or more rows is SEPARATING_LINE, produces: ``` File "....\.venv\lib\site-packages\tabulate\__init__.py", line 1451, in rows = [[getattr(row, f) for f in field_names]...
The numpy.datetime64[ns] was recognized as float, because numpy.datetime64[ns] is convertible to float. This PR fixes this problem. Fix #251
I ran CodeQL scanning on the project and found the following 10 alerts. I fixed 4 alerts and made this PR. Please review
When I run a command like this: ```bash tabulate --format github -
Works: ``` from tabulate import tabulate, SEPARATING_LINE data = [ ['Jack', 'Word 1', 'Word 2'], ['Ronaldinho', 'Word 3', 'Word 4'], SEPARATING_LINE, ['Becky', 8, 9], ['William', 1, 2] ] print(tabulate(data)) ----------...
Is it possible to set the width of a column? I'm hoping to do this for cells that will include a hyperlink and are processed in an external service like...
This new argument in the tabulate function could be very useful for printing tables with consistent width. Since the program seems to ignore maxcolwidths whenever there are numeric strings of...
This PR adds supports for column alignments for GitHub-Flavored Markdown (i.e. the `github` table format). This has been requested on issue #53 and reuse the same code as the `pipe`...