-
Notifications
You must be signed in to change notification settings - Fork 107
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
Add support for space delimited data #14
Comments
In principle I'm not opposed, but it might be tricky as spaces are also allowed inside individual fields, even non-escaped ones. |
There is no problem for the decoding. Space is delimitier that's all. |
Encoding is indeed a problem. CSV and space delimited data require different escaping which is handled by ToField class. Documentation is silent about that so it's possible to define buggy instances. I can see two options.
|
The right thing is probably to handle escaping outside |
I've done (1). Can you check if what you want to do now work in HEAD? |
Thnak you. It looks like it should. I'm quite busy at the moment so it |
I'm curious if there's any more work needed in the cassava for this to work. Can't you just set |
No. I think everything could be implemented in the current state. But Changing decDelimiter won't work. Format for space delimited data is |
I will close this bug then. If there are more features you need (e.g. a fleshed-out |
It would be nice to add support for space-delimited data. It appears quite frequienty in the context of data analysis and require only minimal changes to the parser/encoder. I've started working on it.
What do you think about this idea? And how do you prefer to structure the code. Should new functions be placed into separate modules?
The text was updated successfully, but these errors were encountered: