API reference
python:irx:irx.record_batch.RecordBatchStreamWriter.open_csv
method open_csv
open_csv(schema: RecordBatchSchema, path: str | os.PathLike[str], *, delimiter: str = ',', header: bool = True) -> 'RecordBatchStreamWriter'
Source: packages/irx/src/irx/record_batch.py:2154
Create or truncate a local CSV file with an exact batch schema.
Close explicitly to observe final flush errors; writes are not atomic.
Parameters
-
schema — Type: RecordBatchSchema
-
path — Type: str | os.PathLike[str]
-
delimiter — Type: str
-
header — Type: bool
Returns
Type: RecordBatchStreamWriter