Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
When reading CSV, float-like strings lacking exponent digits are accepted as floats #12237
Comments
|
Work underway in #12215. |
bennorth
referenced
this issue
Feb 5, 2016
Closed
BUG: Strings like '2E' are incorrectly parsed as valid floats #12215
jreback
added CSV Bug
labels
Feb 5, 2016
jreback
closed this
Aug 21, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
bennorth commentedFeb 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).