We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With tabulate==0.9.0
tabulate==0.9.0
This code fails:
print(tabulate({'x': []}, headers="keys", maxcolwidths=100))
Expected behaviour:
Without data, it should render the table as with:
print(tabulate({'x': []}, headers="keys"))
The text was updated successfully, but these errors were encountered:
You can quickly fix this by editing this line:
python-tabulate/tabulate/__init__.py
Line 2109 in 95ae5eb
Into
num_cols = len(list_of_lists[0]) if list_of_lists else 0
Sorry, something went wrong.
No branches or pull requests
With
tabulate==0.9.0
This code fails:
Expected behaviour:
Without data, it should render the table as with:
The text was updated successfully, but these errors were encountered: