Update histogram.rs

This commit is contained in:
Jonathan Turner 2019-11-27 15:32:05 +13:00 committed by Yehuda Katz
parent 526d94d862
commit 0f193c2337

View File

@ -79,7 +79,7 @@ pub fn histogram(
let column_names_supplied: Vec<_> = rest.iter().map(|f| f.item.clone()).collect(); let column_names_supplied: Vec<_> = rest.iter().map(|f| f.item.clone()).collect();
let frequency_column_name = if column_names_supplied.is_empty() { let frequency_column_name = if column_names_supplied.is_empty() {
"frecuency".to_string() "frequency".to_string()
} else { } else {
column_names_supplied[0].clone() column_names_supplied[0].clone()
}; };