Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: fix html float display #59930

Merged
merged 19 commits into from
Oct 3, 2024
Merged

BUG: fix html float display #59930

merged 19 commits into from
Oct 3, 2024

Conversation

saldanhad
Copy link
Contributor

@saldanhad saldanhad commented Oct 1, 2024

Part of #59876

Fixes:

  • Updated :meth:DataFrame._repr_html_ to pass the current float format option from :func:get_option("display.float_format") to :class:DataFrameFormatter, ensuring that the HTML output respects the configured float formatting.

@saldanhad saldanhad marked this pull request as draft October 1, 2024 13:14
@saldanhad saldanhad changed the title BUG: fix html display float/strings BUG: fix html float display Oct 1, 2024
@saldanhad saldanhad marked this pull request as ready for review October 1, 2024 21:59
@mroeschke mroeschke added the Output-Formatting __repr__ of pandas objects, to_string label Oct 3, 2024
@mroeschke mroeschke added this to the 3.0 milestone Oct 3, 2024
@mroeschke mroeschke merged commit 139def2 into pandas-dev:main Oct 3, 2024
50 of 51 checks passed
@mroeschke
Copy link
Member

Thanks @saldanhad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Output-Formatting __repr__ of pandas objects, to_string
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants