Miscellaneous#

Multi-Threading#

cpu_count()

Return the number of threads to use in parallel operations.

set_cpu_count(int count)

Set the number of threads to use in parallel operations.

io_thread_count()

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

set_io_thread_count(int count)

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

Using with C extensions#

get_include()

Return absolute path to directory containing Arrow C++ include headers.

get_libraries()

Return list of library names to include in the libraries argument for C or Cython extensions using pyarrow

get_library_dirs()

Return lists of directories likely to contain Arrow C++ libraries for linking C or Cython extensions using pyarrow