You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm happy on my end, it's just a sharp corner I thought I'd raise
@mkleinbort-ic: and many thanks for that - I've found a way to automatically structify this type of call (which does look like the right way to handle things), so the hoped-for behaviour should work by default in an upcoming release.
Update:
Note that the auto-structify behaviour is considered experimental, and requires opt-in via...
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
I accidentally wrote this code:
This is the result I'd expect if I were taking the pct_change of the
x2
column, but it quietly ignoresx1
.Two behaviours seem appropiate to me:
In either case, the current behavior definitively violated the "don't surprise programmers" mantra.
Reproducible example
Expected behavior
Should return the same as
Or raise an error
Installed versions
The text was updated successfully, but these errors were encountered: