| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/../integration/../generated/pyarrow.cpu_count.html | [Back] [Original] |
Section Navigation
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_countModify the size of this pool.
io_thread_countThe analogous function for the I/O thread pool.
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |