Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Right align numbers in HTML repr of tables #12144

Copy link
Copy link
Open
@pwaller

Description

@pwaller
Issue body actions

Is there a way to right-align numbers in the HTML repr of tables? Right now they are left aligned, and it is a bit of a pain.

I see there is a lot of work on conditional HTML formatting recently (e.g, #10250). Is it already possible to achieve this?

/cc @TomAugspurger

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementIO HTMLread_html, to_html, Styler.apply, Styler.applymapread_html, to_html, Styler.apply, Styler.applymapOutput-Formatting__repr__ of pandas objects, to_string__repr__ of pandas objects, to_stringStylerconditional formatting using DataFrame.styleconditional formatting using DataFrame.style

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.