You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the below code which uses style_header_conditional to highlight columns 1_1a and 1_1b, it incorrectly highlights header cells 1b, 2 and 2a.
Expected behavior
It should highlight the cells corresponding to the specified columns, i.e. 1, 1a and 1b (i.e. the same cells it would highlight if I remove merge_duplicate_headers=True).
Note: I understand that when specifying some, but not all, of the columns which are included in a merge, there may be a few reasonable ways that can be displayed. But in this case the expected behavior seems quite obvious and the observed behavior is clearly wrong.
Describe your context
Environment:
Probably not important:
Describe the bug
When I run the below code which uses
style_header_conditional
to highlight columns1_1a
and1_1b
, it incorrectly highlights header cells1b
,2
and2a
.Expected behavior
It should highlight the cells corresponding to the specified columns, i.e.
1
,1a
and1b
(i.e. the same cells it would highlight if I removemerge_duplicate_headers=True
).Note: I understand that when specifying some, but not all, of the columns which are included in a merge, there may be a few reasonable ways that can be displayed. But in this case the expected behavior seems quite obvious and the observed behavior is clearly wrong.
Code
Screenshots
Actual highlighting:
Desired highlighting:
The text was updated successfully, but these errors were encountered: