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: style.set_precision(0) displays spurious .0 #12137

Closed
wants to merge 2 commits into from
Closed

BUG: style.set_precision(0) displays spurious .0 #12137

wants to merge 2 commits into from

Conversation

xflr6
Copy link
Contributor

@xflr6 xflr6 commented Jan 25, 2016

Fixes #12134

@jreback jreback added Output-Formatting __repr__ of pandas objects, to_string IO HTML read_html, to_html, Styler.apply, Styler.applymap Bug labels Jan 25, 2016
@jreback
Copy link
Contributor

jreback commented Jan 25, 2016

tests!

e.g. format a frame with a bunch of specific test data (e.g. like you have in the issue, but with NaN, infs, and any special cases).

Then assert that the contents of the generated HTML are what you expect

@xflr6
Copy link
Contributor Author

xflr6 commented Feb 13, 2016

superseded by #12162

@xflr6 xflr6 closed this Feb 13, 2016
@jorisvandenbossche jorisvandenbossche added this to the 0.18.0 milestone Feb 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug IO HTML read_html, to_html, Styler.apply, Styler.applymap Output-Formatting __repr__ of pandas objects, to_string
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants