[Numpy-discussion] Proposal - extend histograms api to allow uneven bins

2020-02-10 Thread Alexander Reeves
Greetings, I have a PR that warrants discussion according to @seberg. See https://github.com/numpy/numpy/pull/14278. It is an enhancement that fixes a bug. The original bug is that when using the fd estimator on a dataset with small inter-quartile range and large outliers, the current codebase pr

[Numpy-discussion] merging empty bins used by histogram(bins='auto') to avoid MemoryErrors

2019-08-08 Thread Alexander Reeves
Hi all, This thread is to do with the github issues raised in #11879, #10297, #8203 of and possibly others that didn't appear in my search. The main issue is that histogram(bins='auto') will sometimes raise a memory error if the number of automatically-generated bin edges is too large. In all doc