[Numpy-discussion] PR to add a function to calculate histogram edges without calculating the histogram

Kirit Thadaka kirit.thadaka at gmail.com
Fri Mar 9 13:41:56 EST 2018


Hi!

I've created a PR to add a function called "histogram_bin_edges" which will
allow a user to calculate the bins used by the histogram for some data
without requiring the entire histogram to be calculated.

https://github.com/numpy/numpy/pull/10591#issuecomment-371863472

This function allows one set of bins to be computed, and reused across
multiple histograms which gives more easily comparable results than using
separate bins for each histogram.

Please let me know if you have any suggestions on how to improve this PR.

Thanks!

-
Kirit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20180310/e0420847/attachment.html>


More information about the NumPy-Discussion mailing list