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

Closed
bennorth opened this Issue Feb 5, 2016 · 2 comments

Comments

Projects
None yet
3 participants
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).

Contributor

bennorth commented Feb 5, 2016

Work underway in #12215.

@jreback jreback added CSV Bug labels Feb 5, 2016

Member

gfyoung commented Aug 21, 2016

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

jreback closed this Aug 21, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment