Struct rusty_data::loader::Loader [] [src]

pub struct Loader<'a> {
    pub file: &'a str,
    pub delimiter: char,
}

Fields

file: &'a str delimiter: char

Methods

impl<'a> Loader<'a>
[src]

fn load_file(self) -> Result<DataTableError>

Load the file from the loader with given delimiter.

Pretty rudimentary with poor error handling.

Panics

  • The input data is not a float.

Failures

  • The input data is malformed (missing data, non-uniform rows etc.)