pyarrow.csv.WriteOptions#
- class pyarrow.csv.WriteOptions(include_header=None, *, batch_size=None, delimiter=None)#
Bases:
pyarrow.lib._Weakrefable
Options for writing CSV files.
- Parameters
- include_headerbool, 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
- delimiter1-character
str
, optional (default โ,โ) The character delimiting individual cells in the CSV data.
- include_headerbool, optional (default
- __init__(*args, **kwargs)#
Methods
__init__
(*args,ย **kwargs)validate
(self)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.
- batch_size#
How many rows to process together when converting and writing CSV data.
- delimiter#
The character delimiting individual cells in the CSV data.
- include_header#
Whether to write an initial header line with column names.
- validate(self)#