davlee1972 opened a new issue, #41239:
URL: https://github.com/apache/arrow/issues/41239

   ### Describe the enhancement requested
   
   There is a quoteing_style using in pyarrow.csv.WriteOptions, but it only 
affects the row level data portion.
   The header row always includes double quotes around the column name.
   
   Can we change the "none" option to also exclude header quotes?
   
   Alternatively we could change how the "include_header" behaves from:
   False - Don't include header
   True - Header with quoted column names
   "quotes"  - Header with quoted column names
   "plain"  - Include header with plain text column names
   
   https://arrow.apache.org/docs/python/generated/pyarrow.csv.WriteOptions.html
   
   quoting_style[str](https://docs.python.org/3/library/stdtypes.html#str), 
optional (default “needed”)
   Whether to quote values, and if so, which quoting style to use. The 
following values are accepted:
   
   “needed” (default): only enclose values in quotes when needed.
   
   “all_valid”: enclose all valid values in quotes; nulls are not quoted.
   
   “none”: do not enclose any values in quotes; values containing special 
characters (such as quotes, cell delimiters or line endings) will raise an 
error.
   
   ### Component(s)
   
   C++, Python


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to