mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 16:33:37 +01:00
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 frequency_column_name = if column_names_supplied.is_empty() {
|
||||
"frecuency".to_string()
|
||||
"frequency".to_string()
|
||||
} else {
|
||||
column_names_supplied[0].clone()
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user