pyarrow.ipc.open_stream

pyarrow.ipc.open_stream(source, *, options=None, memory_pool=None)[source]

Create reader for Arrow streaming format.

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

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

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:
readerRecordBatchStreamReader

A reader for the given source