Available on (crate features
io_csv_read
or io_csv_read_async
or io_csv_write
) and crate feature io_csv_write
only.Expand description
APIs to write to CSV
Structs
Options to serialize logical types to CSV
The default is to format times and dates as chrono
crate formats them.
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 Chunk
to a vector of rows.
The vector is guaranteed to have columns.len()
entries.
Each row
is guaranteed to have columns.array().len()
fields.
Writes Chunk
to writer
according to the serialization options options
.
Writes a CSV header to writer