forked from extern/nushell
Update histogram.rs
This commit is contained in:
parent
526d94d862
commit
0f193c2337
@ -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()
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user