You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in DuckDBPyRelation.to_csv, use of any quoting value other than csv.QUOTE_ALLthrows an exception.
This is annoying because the fairly common csv.QUOTE_STRINGS is pretty useful for differentiating between strings and numbers in CSV.
The underlying CSV writer doesn't support all the usual options either but there is a FIXME
// FIXME: we could gain some performance here by checking for certain types if they ever require quotes
// (e.g. integers only require quotes if the delimiter is a number, decimals only require quotes if the
// delimiter is a number or "." character)
... which while it doesn't explicitly mention compatibility with the other common CSV options is at least pointing in a similar direction.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
in
DuckDBPyRelation.to_csv, use of any quoting value other thancsv.QUOTE_ALLthrows an exception.This is annoying because the fairly common
csv.QUOTE_STRINGSis pretty useful for differentiating between strings and numbers in CSV.The underlying CSV writer doesn't support all the usual options either but there is a FIXME
... which while it doesn't explicitly mention compatibility with the other common CSV options is at least pointing in a similar direction.
Beta Was this translation helpful? Give feedback.
All reactions