Function rustplot::data_parser::get_headers [] [src]

pub fn get_headers(start: usize, end: usize, file_name: &str) -> Vec<String>

Returns the headers (top row) of string data from a specified CSV file as a Vec<String>.

start specifies the position of the first element in the headers to be read.

end specifies the position of the last element in the headers to be read.

file_name specifies the CSV file to read data from.