-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
pl.Expr.list.get
raises error on null values.
#17252
Comments
pl.Expr.list.get
raises error on null values.
Wouldn't this error be related to the new |
I don't think that |
Also, note that this is not the case for arrays: s = pl.Series([None, [1]], dtype=pl.Array(pl.Int32, 1))
s.arr.get(0, null_on_oob=False) # returns [null, 1]
s.arr.get(0, null_on_oob=True) # returns [null, 1] |
Thanks for the report. This is most probably a side-effect of #16841 |
Re-opening as this wasn't fixed completely - see #17276 |
Checks
Reproducible example
Log output
No response
Issue description
Previously
pl.Expr.list.get
would propagatenull
values. Now it errors withComputeError: get index is out of bounds
.Expected behavior
I would expect
pl.Expr.list.get
to not error on null list values.Installed versions
The text was updated successfully, but these errors were encountered: