pub fn estimate_n_lines_in_chunk(chunk: &[u8]) -> usize
polars-io
Total len divided by max len of first and last non-empty lines.