polars_io::csv::read

Function count_rows_from_slice

Source
pub fn count_rows_from_slice(
    bytes: &[u8],
    separator: u8,
    quote_char: Option<u8>,
    comment_prefix: Option<&CommentPrefix>,
    eol_char: u8,
    has_header: bool,
) -> PolarsResult<usize>
Available on crate features csv or json only.
Expand description

Read the number of rows without parsing columns useful for count(*) queries