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:40:00 UTC

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

     [ https://issues.apache.org/jira/browse/ARROW-16893?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Lee updated ARROW-16893:
------------------------------
    Description: 
https://issues.apache.org/jira/browse/ARROW-14905

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

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

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.

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

  was:
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


> 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
>            Priority: Minor
>              Labels: easyfix
>
> https://issues.apache.org/jira/browse/ARROW-14905
> The quoting style option was added for  C++, but is not supported in Python.
> The C++ default for quoting style is "needed"
> 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.
> "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)