You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "David Lee (Jira)" <ji...@apache.org> on 2022/06/23 12:39:00 UTC

[jira] [Created] (ARROW-16893) Add quoting style support for pyarrow.csv.WriteOptions

David Lee created ARROW-16893:
---------------------------------

             Summary: Add quoting style support for pyarrow.csv.WriteOptions
                 Key: ARROW-16893
                 URL: https://issues.apache.org/jira/browse/ARROW-16893
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Python
    Affects Versions: 8.0.0
            Reporter: David Lee


https://issues.apache.org/jira/browse/ARROW-14905

The quoting style option was added forĀ  C++, but is not supported in Python.

The pyarrow.csv writer module currently produces a CSV file where all strings are double quoted with no option to not wrap strings in double quotes.

The C++ default for quoting style is "needed"

"portfolioID","marketValue","notionalMarketValue","weight","notionalWeight"
"ABCXYZ12345",26260.74,0.039716113109573174,26260.74,0.039716113109573174



--
This message was sent by Atlassian Jira
(v8.20.7#820007)