pyarrow.json.ReadOptions

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

Bases: pyarrow.lib._Weakrefable

Options for reading JSON files.

Parameters
use_threadsbool, optional (default True)

Whether to use multiple threads to accelerate reading

block_sizeint, 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__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

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.