BUG: index naming escaping not performed by Styler.format_index · Issue #47489 · pandas-dev/pandas (original) (raw)

Pandas version checks

Reproducible Example

...

Issue Description

e.g. see https://stackoverflow.com/questions/72716879/is-there-a-function-to-format-the-index-name-in-a-pandas-styler-dataframe-style

Escaping is applied to formatted header cells but not to index name cells.

Expected Behavior

Unknown at this point, perhaps will work just to apply the same escape parameter to the index name but have to evaluate first.

Installed Versions

Replace this line with the output of pd.show_versions()