Skip to content

HTMLFormatter.to_html() does not look at show_index_names #3195

Closed
@blais

Description

@blais

pandas.core.format.py:436
if self.show_index_names and self.has_index_names:

Below for pandas.core.format.py:647:
if self.fmt.has_index_names:

I think the second part should look at the show_index_names option.
The problem currently is that you cannot disable the two-row index, and sorttable.js does not work with two-row indexes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    IO HTMLread_html, to_html, Styler.apply, Styler.applymapOutput-Formatting__repr__ of pandas objects, to_string

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions