I Bo

Results 7 comments of I Bo

So, another issue is that ansi color codes are recognized only for floats. Presumably, it doesn't matter for nones, strings and bytes but in case of bools and integers this...

While looking into this issue I found a similar bug: ```pycon >>> tabulate([[1000], ['True']], intfmt=',') Traceback (most recent call last): File "", line 1, in File "C:\Users\Ibo\Python\python-tabulate\tabulate\__init__.py", line 2176, in...

All these bugs happen in _format(): https://github.com/astanin/python-tabulate/blob/83fd4fb98926c8a6fdf45caa1b91ee8913b64dcb/tabulate/__init__.py#L1213-L1247 ...when 1. a bool represented as a string is subjected to explicit conversion into a float (L1244), 1. a bool (or an integer)...

You get scientific notation only if you give float input. Integers will not be converted. ```pycon >>> print(tabulate([[10000000000000000000000000]], intfmt=',')) ---------------------------------- 10,000,000,000,000,000,000,000,000 ---------------------------------- ``` Please, provide an example which fails.

The trouble comes from how pandas.NA propagates itself in cases when you normally expect a boolean: ```pycon >>> a = (pandas.NA == "") >>> a >>> b = (True and...

@jeromegit Seems like #232 still doesn't work with any `grid` style formats ![image](https://user-images.githubusercontent.com/9436418/209679505-6ba66277-bfd4-4a19-a8db-2592ae43c17a.png)

Actually, python preserves the insertion order of dictionaries since 3.7 (officially) so they are safe to use now. This means the example in README about using keys in headers should...