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

Multiple characters as delim #137

Closed
sidjai opened this Issue Apr 17, 2015 · 3 comments

Comments

Projects
None yet
2 participants
@sidjai

sidjai commented Apr 17, 2015

Would it be possible to have multiple characters for a delimiter? I ask cause I have a case with spaces and scientific notation like,
" 48.93, -81.14, 0.18E+03"

So I can get the first two with numeric parsing but the last one fails because I need that "E".

@hadley

This comment has been minimized.

Member

hadley commented Apr 17, 2015

The numeric parsers should ignore leading and trailing spaces. I thought I had written them that way, but maybe I missed something.

@sidjai

This comment has been minimized.

sidjai commented Apr 17, 2015

Oh they do, but they also ignore the exponential which makes the third column unreadable. With numeric parsing it would return "0.1803" instead of "180". With double parsing it would return a problem with the leading space.

@hadley

This comment has been minimized.

Member

hadley commented Apr 17, 2015

Ooops, I was unclear - I meant numeric, double and integer should all ignore spaces.

@hadley hadley closed this in f05d4ce Sep 3, 2015

@lock lock bot locked and limited conversation to collaborators Sep 25, 2018

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