-
Notifications
You must be signed in to change notification settings - Fork 128
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
v0.8.0 summarise/count bug? #842
Comments
Hi @mlineen, Thanks for the report!
This looks like a bug to me. I didn't see any notes in the Polars release about changing the behavior of import Explorer.Series
[1, nil, 3] |> from_list() |> count() #=> 3 I'll try to dig more into it tonight to make sure. |
Interesting! So this isn't a "bug" per se. As of Polars 0.36.2, this is the default behavior. From the release:
We now need to use a different function under the hood if we want the old behavior. WDYT @philss, @josevalim, @cigrainger? |
@billylanchantin this is tricky.
WDYT? |
I think that's a good plan. We'll want to call out that Will we also need to tackle |
@josevalim is this an accurate summary of your proposal? Explorer (I work with @mlineen) |
Yes!! |
Yep I agree with that proposal! |
Not sure if this is a bug or a feature, but when a
nil
is present in the series,summarise
withcount
skips thenil
(this behavior changed from 0.7.2 to 0.8.0):The text was updated successfully, but these errors were encountered: