Skip to main content

parse_csv

Function parse_csv 

Source
pub fn parse_csv(
    name: &str,
    bytes: &[u8],
    options: CsvOptions,
) -> Result<Dataset, DataError>
Available on crate feature data only.
Expand description

Parse bytes as a delimited table, inferring int, float, bool, and text columns.

§Errors

When there is no header and no rows, or a row has more fields than the header.

§Example

use crisol_core::data::parse_csv;