pyarrow.set_io_thread_count

pyarrow.set_io_thread_count(int count)

Set the number of threads to use for I/O operations.

Many operations, such as scanning a dataset, will implicitly make use of this pool.

Parameters:
countint

The max number of threads that may be used for I/O. Must be positive.

See also

io_thread_count

Get the size of this pool.

set_cpu_count

The analogous function for the CPU thread pool.