Module polars_io::csv::write [−][src]
This is supported on crate features
csv-file
and io_csv_write
only.Expand description
APIs to write to CSV
Structs
A single CSV record stored as raw bytes.
Options to serialize logical types to CSV
A already configured CSV writer.
Builds a CSV writer with various configuration knobs.
Functions
Returns a StreamingIterator
that yields &[u8]
serialized from array
according to options
.
For numeric types, this serializes as usual. For dates, times and timestamps, it uses options
to
Supported types:
Serializes a RecordBatch
as vector of ByteRecord
.
The vector is guaranteed to have batch.num_rows()
entries.
Each ByteRecord
is guaranteed to have batch.num_columns()
fields.
Writes the data in a RecordBatch
to writer
according to the serialization options options
.
Writes a header to writer
according to schema