astanin / python-tabulate

Pretty-print tabular data in Python, a library and a command-line utility. Repository migrated from bitbucket.org/astanin/python-tabulate.
https://pypi.org/project/tabulate/
MIT License
2.1k stars 163 forks source link

FutureWarning: elementwise comparison failed #270

Open GuidoBartoli opened 1 year ago

GuidoBartoli commented 1 year ago

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 future will perform elementwise comparison
  or (len(row) >= 2 and row[1] == SEPARATING_LINE)

Does tabulate needs to be updated for compatibility with this Python version?