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

When reading CSV, float-like strings lacking exponent digits are accepted as floats #12237

Closed
bennorth opened this issue Feb 5, 2016 · 2 comments
Labels
Bug IO CSV read_csv, to_csv

Comments

@bennorth
Copy link
Contributor

bennorth commented Feb 5, 2016

The data-frame

DataFrame({'x': [2.5], 'y': [42], 'z': ['2E']})

does not round-trip correctly via CSV. The string '2E' is interpreted as a valid float, but it should not be (according to man strtod(3), which seems a reasonable spec).

@bennorth
Copy link
Contributor Author

bennorth commented Feb 5, 2016

Work underway in #12215.

@gfyoung
Copy link
Member

gfyoung commented Aug 21, 2016

@jreback : This should be closed since #12215 was merged in.

@jreback jreback closed this as completed Aug 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug IO CSV read_csv, to_csv
Projects
None yet
Development

No branches or pull requests

3 participants