decode_csv

Function decode_csv 

Source
pub fn decode_csv<R: BufRead>(
    reader: R,
    options: &CsvDecodeOptions,
) -> Result<Table>
Expand description

Decodes CSV from a BufRead into a Minarrow Table.
Schema is inferred unless provided. Errors propagate if CSV is malformed or parsing fails.

§Arguments

  • reader: Any BufRead (e.g., &[u8], File).
  • options: CSV decode options.

§Returns

  • On success, a Minarrow Table.