| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.ipc.RecordBatchStreamReader.html | [Back] [Original] |
Section Navigation
Bases: _RecordBatchStreamReader
Reader for the Arrow streaming binary format.
pyarrow.NativeFile, or file-like Python objectEither an in-memory buffer, or a readable file object. If you want to use memory map use MemoryMappedFile as source.
pyarrow.ipc.IpcReadOptionsOptions for IPC deserialization. If None, default values will be used.
MemoryPool, default NoneIf None, default memory pool is used.
Methods
|
|
|
Wrap this reader with one that casts each batch lazily as it is pulled. |
|
Release any resources associated with the reader. |
|
Create RecordBatchReader from an iterable of batches. |
|
Create RecordBatchReader from a Arrow-compatible stream object. |
Iterate over record batches from the stream along with their custom metadata. |
|
|
Read all record batches as a pyarrow.Table. |
|
Read next RecordBatch from the stream. |
Read next RecordBatch from the stream along with its custom metadata. |
|
|
Read contents of stream to a pandas.DataFrame. |
Attributes
Wrap this reader with one that casts each batch lazily as it is pulled. Currently only a safe cast to target_schema is implemented.
SchemaSchema to cast to, the names and order of fields must match.
Release any resources associated with the reader.
Create RecordBatchReader from an iterable of batches.
SchemaThe shared schema of the record batches
Iterable[RecordBatch]The batches that this reader will return.
Create RecordBatchReader from a Arrow-compatible stream object.
This accepts objects implementing the Arrow PyCapsule Protocol for
streams, i.e. objects that have a __arrow_c_stream__ method.
Iterate over record batches from the stream along with their custom metadata.
RecordBatchWithMetadataRead next RecordBatch from the stream.
At end of stream.
Read next RecordBatch from the stream along with its custom metadata.
RecordBatchKeyValueMetadataAt end of stream.
Read contents of stream to a pandas.DataFrame.
Read all record batches as a pyarrow.Table then convert it to a pandas.DataFrame using Table.to_pandas.
Arguments to forward to Table.to_pandas().
Current IPC read statistics.
RecordBatchStreamReaderRecordBatchStreamReader.__init__()RecordBatchStreamReader.cast()RecordBatchStreamReader.close()RecordBatchStreamReader.from_batches()RecordBatchStreamReader.from_stream()RecordBatchStreamReader.iter_batches_with_custom_metadata()RecordBatchStreamReader.read_all()RecordBatchStreamReader.read_next_batch()RecordBatchStreamReader.read_next_batch_with_custom_metadata()RecordBatchStreamReader.read_pandas()RecordBatchStreamReader.schemaRecordBatchStreamReader.stats
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |