pyarrow.ipc.IpcReadOptions#

classpyarrow.ipc.IpcReadOptions(boolensure_native_endian=True,*,Alignmentensure_alignment=Alignment.Any,booluse_threads=True,listincluded_fields=None)#

Bases:_Weakrefable

Serialization options for reading IPC format.

Parameters:
ensure_native_endianbool, defaultTrue

Whether to convert incoming data to platform-native endianness.

ensure_alignmentAlignment, defaultAlignment.Any

Data is copied to aligned memory locations if mis-aligned.Some use cases might require data to have a specific alignment, for example,for the data buffer of an int32 array to be aligned on a 4-byte boundary.

use_threadsbool

Whether to use the global CPU thread pool to parallelize anycomputational tasks like decompression

included_fieldslist

If empty (the default), return all deserialized fields.If non-empty, the values are the indices of fields to read onthe top-level schema

__init__(*args,**kwargs)#

Methods

__init__(*args, **kwargs)

Attributes

ensure_alignment#
ensure_native_endian#
included_fields#
use_threads#