Module rustplot::data_parser
[−]
[src]
Provides functionality for extracting data from CSV files, along with additional functionality for manipulation and cleansing of extracted data.
This module's functions takes, processes and returns Vectors of Strings or f64(floats). This means there is no restriction on manipulation and visability of data for the user.
Functions
get_headers |
Returns the headers (top row) of string data from a specified CSV file as a |
get_num_col |
Returns a column of numerical data from a specified CSV file as a |
get_num_row |
Returns a row of numerical data from a specified CSV file as a |
get_str_col |
Returns a column of string data from a specified CSV file as a |
get_str_row |
Returns a row of string data from a specified CSV file as a |
num_pred |
Returns a Vec |
reg_match |
Returns a Vec |
vec_add |
Returns a vector with elements with values of the sum of the corresponding elements of the two provided vectors. |
vec_div |
Returns a vector with elements with values of the quotient of the corresponding elements of the two provided vectors. |
vec_keep_where |
Returns a copy of the provided vector only keeping elements specified by a list of indexes. |
vec_ln |
Transforms all vectors elements to the natural log of their values. |
vec_log |
Transforms all vectors elements to their log base 10 values. |
vec_mul |
Returns a vector with elements with values of the product of the corresponding elements of the two provided vectors. |
vec_num_transform |
Performs a specified numerical transformation on each element of a |
vec_pow |
Returns a vector with elements with values of the sum of the corresponding elements of the two provided vectors. |
vec_remove_where |
Returns a copy of the provided vector with elements specified by a list of indexes removed. |
vec_sub |
Returns a vector with elements with values of the difference between the corresponding elements of the two provided vectors. |
vecs_num_transform |
Performs a specified numerical transformation on corresponding elements of two |