-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
ENH/API: allow hist.bins to follow the numpy default #16471
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
base: main
Are you sure you want to change the base?
Conversation
Currently, we default to hist.bins=10 which happens to match the numpy default. However, there is some discussion about changing the numpy default. This adds the option of fall back to "what numpy does by default" by default.
This will have no effect, as the numpy default is currently the same as our default, but will future-proof us to follow numpy if / when they change their default.
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.
Overall this seems fine but needs docs. I think this needs a what’s new? And the new kwarg value need an entry in the docstring. Probably the template comment needs to be changed
Ok so this changes the default as well, right? |
Punting to 3.4 as I don't think this is urgent (as I don't think there is a pending change to the numpy default coming). |
Since this Pull Request has not been updated in 60 days, it has been marked "inactive." This does not mean that it will be closed, though it may be moved to a "Draft" state. This helps maintainers prioritize their reviewing efforts. You can pick the PR back up anytime - please ping us if you need a review or guidance to move the PR forward! If you do not plan on continuing the work, please let us know so that we can either find someone to take the PR over, or close it. |
Currently, we default to hist.bins=10 which happens to match the numpy
default. However, there is some discussion about changing the numpy
default. This adds the option of fall back to "what numpy does by default"
by default.
Changing the default currently has no effect, as the numpy default is
the same as our ould default, but will future-proof us to follow numpy
if / when they change their default.