pyarrow.ipc.open_file#

pyarrow.ipc.open_file(source, footer_offset=None, *, options=None, memory_pool=None)[source]#

Create reader for Arrow file format.

Parameters
sourcebytes/buffer-like, pyarrow.NativeFile, or file-like Python object

Either an in-memory buffer, or a readable file object.

footer_offsetint, default None

If the file is embedded in some larger file, this is the byte offset to the very end of the file data.

optionspyarrow.ipc.IpcReadOptions

Options for IPC serialization. If None, default values will be used.

memory_poolMemoryPool, default None

If None, default memory pool is used.

Returns
โ€”โ€”-
readerRecordBatchFileReader