Skip to content

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
@saldanhad saldanhad requested a review from mroeschke October 3, 2024 19:18
@saldanhad saldanhad requested a review from mroeschke October 3, 2024 19:41
@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

@saldanhad
Copy link
Contributor Author

Thanks for your help in formatting the tests @mroeschke

@saldanhad saldanhad deleted the ipython branch October 4, 2024 09:18
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