Skip to main content

window

Function window 

Source
pub fn window(
    source: impl BufRead,
    rows: usize,
    separator: u8,
    comment: Option<&str>,
) -> Result<Vec<Vec<String>>>
Expand description

The first rows data lines of source, read on from where its header lines ended, each split on separator and trimmed: the lines a scan infers its types from. A line that starts with comment, or is blank, is not one. Stops at [MAX_WINDOW_BYTES].