-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: Fix crash using to_csv with QUOTE_NONE #4752
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
BUG: Fix crash using to_csv with QUOTE_NONE #4752
Conversation
@jreback can you glance at this before I merge? |
looks good weird csv bug |
yeah, the issue is that the default quotechar is |
yep, easy to trigger. Maybe I'll file an issue... |
Now passes `quotechar` to csv's writer. Default is same as csv (`'"'`), but sets to `None` with `quoting=csv.QUOTE_NONE`.
BUG: Fix crash using to_csv with QUOTE_NONE
I think this was the wrong solution actually...there's a specific parameter |
Hi, |
you need to provide a copy-pastable example which reproduces |
Please find below:
|
pls only an example that is not subject to these types of external dependencies. |
OK. I have updated the original post. |
and this is a merged issues, so pls open a new one |
Ok, done. Here - #10783 |
Fixes #4328.
Now passes
quotechar
to csv's writer. Default is same as csv ('"'
), but sets toNone
withquoting=csv.QUOTE_NONE
.