ENH: Styler apply_index and format_index applicable to index names · Issue #48936 · pandas-dev/pandas (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@DanielGoncalves47264

Description

@DanielGoncalves47264

Feature Type

Problem Description

I would love to be able to format both column names and index names when trying to export to excel.

Feature Description

Format both column names and index names when trying to export to excel.

df=pd.DataFrame()
df.style.apply_map_index_names(func:, axis,)

Alternative Solutions

There are a few modules regarding Python and Excel that I believe have this feature like StyleSheet

Additional Context

No response