| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/../api/../generated/pyarrow.csv.WriteOptions.html | [Back] [Original] |
Section Navigation
Bases: _Weakrefable
Options for writing CSV files.
True)Whether to write an initial header line with column names
int, optional (default 1024)How many rows to process together when converting and writing CSV data
str, optional (default ,)The character delimiting individual cells in the CSV data.
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.
str, optional (default needed)Same as quoting_style, but for header column names. Accepts same values. Note : both needed and all_valid have the same effect of quoting all column names.
Methods
Attributes
How many rows to process together when converting and writing CSV data. |
|
The character delimiting individual cells in the CSV data. |
|
Whether to write an initial header line with column names. |
|
Same as quoting_style, but for header column names. |
|
Whether to quote values, and if so, which quoting style to use. |
How many rows to process together when converting and writing CSV data.
The character delimiting individual cells in the CSV data.
Whether to write an initial header line with column names.
Same as quoting_style, but for header column names. Note : both needed and all_valid have the same effect of quoting all column names.
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.
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |