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
- datapyarrow.RecordBatchorpyarrow.Table
- The data to write. 
- output_filestr, path,pyarrow.NativeFile, or file-like object
- The location where to write the CSV data. 
- write_optionspyarrow.csv.WriteOptions
- Options to configure writing the CSV data. 
- memory_poolMemoryPool, optional
- Pool for temporary allocations. 
 
- data
 
