pyarrow.open_stream

pyarrow.open_stream(source)[source]

Create reader for Arrow streaming format

Parameters:
  • source (str, pyarrow.NativeFile, or file-like Python object) – Either a file path, or a readable file object
  • footer_offset (int, default None) – If the file is embedded in some larger file, this is the byte offset to the very end of the file data
Returns:

reader (RecordBatchStreamReader)