Bases: _RecordBatchFileWriter
Writer to create the Arrow binary file format
str
, pyarrow.NativeFile
, or file-like Python object
Either a file path, or a writable file object.
pyarrow.Schema
The Arrow schema for data to be written to the file.
None
Deprecated in favor of setting options. Cannot be provided with options.
If None, False will be used unless this default is overridden by setting the environment variable ARROW_PRE_0_15_IPC_FORMAT=1
pyarrow.ipc.IpcWriteOptions
Options for IPC serialization.
If None, default values will be used: the legacy format will not be used unless overridden by setting the environment variable ARROW_PRE_0_15_IPC_FORMAT=1, and the V5 metadata version will be used unless overridden by setting the environment variable ARROW_PRE_1_0_METADATA_VERSION=1.
Methods
Attributes
Close stream and write end-of-stream 0 marker.
Current IPC write statistics.
Write RecordBatch or Table to stream.
RecordBatch
, Table
}
Write RecordBatch to stream.
RecordBatch
KeyValueMetadata
Keys and values must be string-like / coercible to bytes
Write Table to stream in (contiguous) RecordBatch objects.
Table
int
, default None
Maximum number of rows for RecordBatch chunks. Individual chunks may be smaller depending on the chunk layout of individual columns.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4