-
Notifications
You must be signed in to change notification settings - Fork 608
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
fix(types): fix histogram bin allocation #9711
Conversation
🎉 thanks for putting this together @christopher-titchen ! Can we add the example above as a test in |
Thanks! I need a little guidance regarding the tests. I added the test to check that each bin has the same number of values when the number of values is completely divisible by Should these backends be marked as not implemented, despite |
Hey @christopher-titchen !
That's an interesting hiccup. For the purposes of the test, how about we make use of a Something like: def test_histogram_distribution(con, monkeypatch):
monkeypatch.setattr(ibis.options, "default_backend", con)
t = ibis.memtable({"index": range(100)})
... |
Thanks for the help @gforsyth! I was thinking about using a I had to make a slight change to Anyway, everything is wrapped up now. I think this PR leaves |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent work @christopher-titchen!
Thanks for tracking down those edge-cases!
thanks @christopher-titchen! |
Description of changes
Issues closed