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

Float formatting in DataFrame is different to pandas' formatting #118

Open
andrewgsavage opened this issue Mar 9, 2022 · 0 comments
Open

Comments

@andrewgsavage
Copy link
Collaborator

I've noticed a few places where the formatting seems off.

In the example notebook
https://github.com/hgrecco/pint-pandas/blob/c86a73ae0b7801e3ec076cb5bb07ae9186155ddc/notebooks/pint-pandas.ipynb

[12, 14]
pandas formats FlowRate column to 2dp / 4sf, eg 17.90
pint-array formats as 17.9

[18, 19]
pint-array formats ShaftTorque column to show all digits
pandas formats as 6dp / 4sf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant