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
186b75a848
commit
7a28ababd1
@ -78,7 +78,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