We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
Hello Team Polars,
This issue might be related to 4978.
This was not the case with 0.23.x In this example I would expect ColumnNotFound Error. But instead I get this:
ComputeError( Owned( "Cannot aggregate as sum. The column is already aggregated.", ), ),
pub fn issue(){ let mut df1 = df![ "a" => ["a", "b", "c", "a", "d"], "b" => [true, false, true, true, true], "c" => [Some(1), None, Some(3), Some(4), Some(5)] ].unwrap(); dbg!(df1.lazy().groupby([col("a"), col("b"), col("c")]) .agg([ example().sum().alias("new_name")]).collect()); } pub(crate) fn example () -> Expr { apply_multiple( move |columns| { let df = df! [ "d" => &columns[0], "e" => &columns[1], "f" => &columns[2] ]?; let res = df.column("noSuchColumn")?; Ok(res.to_owned()) }, &[ col("a") , col("b"), col("c"), ], GetOutput::from_type(DataType::Float64), ) }
Column Not Found Error
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Polars version checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of Polars.
Issue description
Hello Team Polars,
This issue might be related to 4978.
This was not the case with 0.23.x In this example I would expect ColumnNotFound Error. But instead I get this:
Reproducible example
Expected behavior
Column Not Found Error
Installed versions
The text was updated successfully, but these errors were encountered: