[ Web Proxy ]
URL:
Viewing: https://arrow.apache.org/docs/python/generated/../generated/../generated/pyarrow.cpu_count.html [Back]  [Original]

pyarrow.cpu_count — Apache Arrow v25.0.1
Back to top
Search the docs ...:

pyarrow.cpu_count#

pyarrow.cpu_count()#

Return the number of threads to use in parallel operations.

The number of threads is determined at startup by inspecting the OMP_NUM_THREADS and OMP_THREAD_LIMIT environment variables. If neither is present, it will default to the number of hardware threads on the system. It can be modified at runtime by calling set_cpu_count().

See also

set_cpu_count

Modify the size of this pool.

io_thread_count

The analogous function for the I/O thread pool.


Web Proxy Viewer  |  New URL  |  Original Page