New issue
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
bugs polars
: using NuDataFrameCustomValue inside with-column
#12821
Comments
This was a behavior provided by eager dataframes. I am trying to determine if cross dataframe references can be handled with with_column in lazy dataframes. |
The example above can be achieved with: let $df = [[a];[1]] | polars into-df
let $df2 = [[a b]; [2 3]] | polars into-df
$df | polars append $df2.b Write now the dot syntax creates an eager dataframe and selects the column. I have considered repurposing the dot syntax for a synonym for With the lazy refactor all with-column expressions only work with one dataframe as that seems to be way that the polars lazy api itself works. |
I got it, thank you for the explanations. I will update (submit pr) the I believe it is also worth mentioning this in the 0.94 update notes about the |
Describe the bug
I compiled the
polars
plugin with #12819.And I found something new: previously, it was possible to use the $df.a notation inside
dfr with-column
. Now it is broken.@ayax79, please take a look to see if it is possible to fix it.
How to reproduce
Expected behavior
I expect
polars
to accept $df.a notationScreenshots
No response
Configuration
Additional context
No response
The text was updated successfully, but these errors were encountered: