Skip to content

Empty table and maxheadercolwidths#383

Closed
DimitriPapadopoulos wants to merge 1 commit into
astanin:masterfrom
DimitriPapadopoulos:maxheadercolwidths
Closed

Empty table and maxheadercolwidths#383
DimitriPapadopoulos wants to merge 1 commit into
astanin:masterfrom
DimitriPapadopoulos:maxheadercolwidths

Conversation

@DimitriPapadopoulos

Copy link
Copy Markdown
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
@astanin

astanin commented Mar 4, 2026

Copy link
Copy Markdown
Owner

The issue is resolved

@astanin astanin closed this Mar 4, 2026
@DimitriPapadopoulos DimitriPapadopoulos deleted the maxheadercolwidths branch March 4, 2026 19:15
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

2 participants