Skip to content

ENH: Adding highlighting options to to_latex function #38328

Closed
@yanaiela

Description

@yanaiela

Following #3196, it would be extremely useful to add the possibility of highlighting the best value in a row or column of a DataFrame object when converting into a latex table (the to_latex function)

A convenient api for that would be to add a parameter to the to_latex() function, such as highlight_rows=TYPE, where TYPE can be bold|italics|... and than each row's best value would be highlighted.

There could also be a scenario where the best value is the lowest one, so maybe an additional parameter should be best_highlight: str between high|low.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions