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.
If a format with padding is used, the test for SEPARATING_LINE fails, resulting in a table containing an (unprintable) \x01 character instead of a separating line. This is because the...
Hi there, I was trying to create a table with clickable text inside the table. Not sure if i did anything wrong. My expected result: ``` +----------------+--------+---------------+ | This is...
Given the following example: ```python data = {"col1": ["first", "a_long_second_row", "third_row"], "col2": [1, 2, 3]} df = pd.DataFrame(data) print(tabulate(data, tablefmt="latex")) ``` Output: ```python \begin{tabular}{lr} \hline first & 1 \\ a\_long\_second\_row...
An empty cell (not a cell containing None, but containing `""` or `b""`) forces the column type to be `str`, even if the rest of the cells contain eg. numeric...
Thanks for the epic libary! I have an edge-case that produces invalid markdown tables. Let's say I have a CSV file like this. ```csv col1,col2|withpipe,col3 y,y|n|unknown,y ``` when I would...
When moving to 0.9.0, you will see ``` _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _...
Is there an option to print the header at the bottom (which would make it a footer)? The use case is printing a very tall table in a terminal. The...
version: 0.8.9, Python 3.6.9, reproduction code: ```python3 In [1]: from tabulate import tabulate ...: data = dict(a=0.1, b=True, c="c") ...: table = [(str(k), str(v)) for k, v in data.items()] In...
disable_numparse=True will not allow intfmt I simply don't want scientific notation of the number but comma as thousand operator but it won't work...
When using tabulate with a list of dictionaries, it gives an error if the header is not a keyword or a dictionary. There is documentation for the keyword options but...