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, defaultNone

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

optionspyarrow.ipc.IpcReadOptions

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

memory_poolMemoryPool, defaultNone

If None, default memory pool is used.

Returns:
readerRecordBatchFileReader

A reader for the given source