| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.ipc.RecordBatchFileReader.html | [Back] [Original] |
Section Navigation
Bases: _RecordBatchFileReader
Class for reading Arrow record batch data from the Arrow binary file 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.
int, default NoneIf the file is embedded in some larger file, this is the byte offset to the very end of the file data
pyarrow.ipc.IpcReadOptionsOptions for IPC serialization. If None, default values will be used.
MemoryPool, default NoneIf None, default memory pool is used.
Methods
|
|
|
Read the record batch with the given index. |
|
Read the record batch with the given index along with its custom metadata |
|
Read the record batch with the given index. |
|
Read all record batches as a pyarrow.Table |
|
Read contents of stream to a pandas.DataFrame. |
Attributes
File-level custom metadata as dict, where both keys and values are byte-like. |
|
The number of record batches in the IPC file. |
|
Current IPC read statistics. |
Read the record batch with the given index.
intThe index of the record batch in the IPC file.
RecordBatchRead the record batch with the given index along with its custom metadata
intThe index of the record batch in the IPC file.
RecordBatchKeyValueMetadataRead the record batch with the given index.
intThe index of the record batch in the IPC file.
RecordBatchFile-level custom metadata as dict, where both keys and values are byte-like.
This kind of metadata can be written via ipc.new_file(..., metadata=...).
The number of record batches in the IPC file.
Read all record batches as a pyarrow.Table
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.
RecordBatchFileReaderRecordBatchFileReader.__init__()RecordBatchFileReader.get_batch()RecordBatchFileReader.get_batch_with_custom_metadata()RecordBatchFileReader.get_record_batch()RecordBatchFileReader.metadataRecordBatchFileReader.num_record_batchesRecordBatchFileReader.read_all()RecordBatchFileReader.read_pandas()RecordBatchFileReader.schemaRecordBatchFileReader.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 |