pub fn read_rows<R: Read>(
reader: &mut Reader<R>,
skip: usize,
rows: &mut [ByteRecord]
) -> Result<usize>
Available on (crate features
io_csv_read
or io_csv_read_async
or io_csv_write
) and crate feature io_csv_read
only.Expand description
Reads len
rows from reader
into row
, skiping the first skip
.
This operation has minimal CPU work and is thus the fastest way to read through a CSV
without deserializing the contents to Arrow.