pyarrow.set_cpu_count

pyarrow.set_cpu_count(int count)

Set the number of threads to use in parallel operations.

Parameters

count (int) – The number of concurrent threads that should be used.

See also

cpu_count

Get the size of this pool.

set_io_thread_count

The analogous function for the I/O thread pool.