mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 06:30:08 +02:00
Enable dataframe command by default (#3672)
* Enable dataframe command by default * Fix unwrap
This commit is contained in:
@ -98,7 +98,13 @@ fn command(mut args: CommandArgs) -> Result<OutputStream, ShellError> {
|
||||
})?;
|
||||
|
||||
let res = chunked
|
||||
.set(bool_mask, Some(val.to_f64().unwrap()))
|
||||
.set(
|
||||
bool_mask,
|
||||
Some(
|
||||
val.to_f64()
|
||||
.expect("internal error: expected f64-compatible decimal"),
|
||||
),
|
||||
)
|
||||
.map_err(|e| parse_polars_error::<&str>(&e, &value.tag.span, None))?;
|
||||
|
||||
Ok(OutputStream::one(NuSeries::series_to_value(
|
||||
|
Reference in New Issue
Block a user