1
0
mirror of https://github.com/nushell/nushell.git synced 2025-07-11 03:45:51 +02:00

fixed syntax shape requirements for --quantiles option for polars summary ()

Fix for 

All of the code expected a list of floats, but the syntax shape expected
a table. Resolved by changing the syntax shape to list of floats.

cc: @maxim-uvarov
This commit is contained in:
Jack Wright
2024-05-15 14:55:07 -07:00
committed by GitHub
parent 06fe7d1e16
commit 6f3dbc97bb

@ -38,7 +38,7 @@ impl PluginCommand for Summary {
)
.named(
"quantiles",
SyntaxShape::Table(vec![]),
SyntaxShape::List(Box::new(SyntaxShape::Float)),
"provide optional quantiles",
Some('q'),
)