polars::prelude

Function count_rows

Source
pub fn count_rows(
    path: &Path,
    separator: u8,
    quote_char: Option<u8>,
    comment_prefix: Option<&CommentPrefix>,
    eol_char: u8,
    has_header: bool,
) -> Result<usize, PolarsError>
Available on crate feature polars-io only.
Expand description

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