MultiIndex column headings misaligned in to_html(index=False) #4896
Labels
IO HTML
read_html, to_html, Styler.apply, Styler.applymap
Output-Formatting
__repr__ of pandas objects, to_string
Dropping the index column with index=False normally works OK, but if the column headings are from a MultiIndex, it fails to drop the empty
<th></th>
spacers at the start of the header, so data rows are not aligned properly:The text was updated successfully, but these errors were encountered: