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

csv(dump(missing=...)) loose float precision #252

Closed
gdementen opened this Issue Jan 19, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@gdementen
Member

gdementen commented Jan 19, 2018

When using the missing argument of dump, all values pass through str() before being fed to csv and on Python2 that means rounding at the 13th decimal instead of using all available precision.

@gdementen gdementen added the bug label Jan 19, 2018

@gdementen gdementen added this to the 0.12 milestone Jan 19, 2018

@gdementen gdementen closed this in ea47932 Jan 19, 2018

gdementen added a commit that referenced this issue Jan 25, 2018

fixed #252: csv(dump(missing=...)) rounded float values at the 12th d…
…ecimal

instead of using all available precision
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment