pyarrow.csv.WriteOptions

class pyarrow.csv.WriteOptions(include_header=None, *, batch_size=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_sizeint, optional (default 1024)

How many rows to process together when converting and writing CSV data

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

validate(self)

Attributes

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.

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)