pyarrow.csv.WriteOptions

class pyarrow.csv.WriteOptions(include_header=None, *, batch_size=None, delimiter=None)

Bases: _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

delimiter1-character str, optional (default “,”)

The character delimiting individual cells in the 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.

delimiter

The character delimiting individual cells in the 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.

delimiter

The character delimiting individual cells in the CSV data.

include_header

Whether to write an initial header line with column names.

validate(self)