mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 00:18:28 +02:00
Groupby operations on dataframes (#3473)
* Added PolarsStruct enum to implement groupby * template groupby * groupby operationi on dataframes
This commit is contained in:
@ -401,10 +401,10 @@ pub fn value_to_json_value(v: &Value) -> Result<serde_json::Value, ShellError> {
|
||||
|
||||
UntaggedValue::Table(l) => serde_json::Value::Array(json_list(l)?),
|
||||
#[cfg(feature = "dataframe")]
|
||||
UntaggedValue::Dataframe(_) => {
|
||||
UntaggedValue::DataFrame(_) => {
|
||||
return Err(ShellError::labeled_error(
|
||||
"Cannot convert dataframe",
|
||||
"Cannot convert dataframe",
|
||||
"Cannot convert data struct",
|
||||
"Cannot convert data struct",
|
||||
&v.tag,
|
||||
))
|
||||
}
|
||||
|
Reference in New Issue
Block a user