pyarrow.csv.ReadOptions

class pyarrow.csv.ReadOptions(use_threads=None, block_size=None)

Bases: object

Options for reading CSV files.

Parameters:
  • use_threads (bool, optional (default True)) – Whether to use multiple threads to accelerate reading
  • block_size (int, optional) – How much bytes to process at a time from the input stream. This will determine multi-threading granularity as well as the size of individual chunks in the Table.
__init__()

Initialize self. See help(type(self)) for accurate signature.

Attributes

block_size How much bytes to process at a time from the input stream.
use_threads Whether to use multiple threads to accelerate reading.
block_size

How much bytes to process at a time from the input stream. This will determine multi-threading granularity as well as the size of individual chunks in the Table.

use_threads

Whether to use multiple threads to accelerate reading.