forked from extern/nushell
Update histogram.rs
This commit is contained in:
parent
186b75a848
commit
7a28ababd1
@ -78,7 +78,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()
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user