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_offset
int
, defaultNone
If the file is embedded in some larger file, this is the byte offset to the very end of the file data.
- options
pyarrow.ipc.IpcReadOptions
Options for IPC serialization. If None, default values will be used.
- memory_pool
MemoryPool
, defaultNone
If None, default memory pool is used.
- sourcebytes/buffer-like,
- Returns:
- reader
RecordBatchFileReader
A reader for the given source
- reader