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

Issue setting float precision #233

Open
aweaver1fandm opened this issue Nov 7, 2022 · 0 comments
Open

Issue setting float precision #233

aweaver1fandm opened this issue Nov 7, 2022 · 0 comments

Comments

@aweaver1fandm
Copy link

I had a column in a pandas table that I set astype(float32) and then set the precision using
options = config.load_options()
options = {'floatprecision': 2}
config.apply_options(options, self.table)

before displaying. But when it displayed, it showed more than 2 decimal places
When I changed the column type to simply astype(float) then it worked as expected.

It seems to me that both types should be recognized and formatted properly

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