pyarrow.csv.WriteOptions¶
-
class
pyarrow.csv.
WriteOptions
(include_header=None, *, batch_size=None)¶ Bases:
pyarrow.lib._Weakrefable
Options for writing CSV files.
- Parameters
include_header (bool, optional (default True)) – Whether to write an initial header line with column names
batch_size (int, optional (default 1024)) – How many rows to process together when converting and writing CSV data
-
__init__
(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(*args, **kwargs)Initialize self.
validate
(self)Attributes
How many rows to process together when converting and writing CSV data.
Whether to write an initial header line with column names.
-
batch_size
¶ How many rows to process together when converting and writing CSV data.
-
include_header
¶ Whether to write an initial header line with column names.
-
validate
(self)¶