Skip to content

Conversation

@DimitriPapadopoulos
Copy link
Contributor

Consistency between processing of maxcolwidths and maxheadercolwidths.

if len(list_of_lists):
num_cols = len(list_of_lists[0])
else:
num_cols = 0

num_cols = len(list_of_lists[0])

Fixes #365.

Consistency between `maxcolwidths` and `maxheadercolwidths`.
@DimitriPapadopoulos DimitriPapadopoulos marked this pull request as ready for review September 13, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

IndexError on empty tables when maxheadercolwidths is used

1 participant