API reference
python:irx:irx.table_io.write_csv
function write_csv
write_csv(frame: pa.Table, path: str | os.PathLike[str], *, delimiter: str = ',', header: bool = True, lineterminator: str = '\n', na_rep: str = '', quoting: Literal['needed', 'all_valid', 'none'] = 'needed') -> None
Source: packages/irx/src/irx/table_io.py:468
Write all chunks and check finalization without consuming the table.
CSV is nontransactional. Custom null tokens can collide with non-null data; use matching read null_values. Do not assume lossless roundtrips.
Parameters
-
frame — Type: pa.Table
-
path — Type: str | os.PathLike[str]
-
delimiter — Type: str
-
header — Type: bool
-
lineterminator — Type: str
-
na_rep — Type: str
-
quoting — Type: Literal[needed, all_valid, none]