pyarrow.csv.write_csv¶
- pyarrow.csv.write_csv(data, output_file, write_options=None, MemoryPool memory_pool=None)¶
Write record batch or table to a CSV file.
- Parameters
- data
pyarrow.RecordBatch
orpyarrow.Table
The data to write.
- output_file
str
, path,pyarrow.NativeFile
, or file-like object The location where to write the CSV data.
- write_options
pyarrow.csv.WriteOptions
Options to configure writing the CSV data.
- memory_pool
MemoryPool
, optional Pool for temporary allocations.
- data