pub fn filter_data_frame(
df: &DataFrame,
upper_currency: String,
) -> (Source, DataFrame)
Expand description
Filter the data frame by currency and determine the source based on the first columns of the CSV
§Arguments
df
: the data frame to filterupper_currency
: the currency to filter by, in uppercase (EUR, USD, …)
returns: (Source, DataFrame)