Change return type of Histogramdd and Histogram

Joseph Mehdiyev via NumPy-Discussion <[email protected]> Sat, 23 May 2026 22:22:47 -0000
Newsgroups gmane.comp.python.numeric.general
Message-ID <[email protected]>
Currently histogramdd (and histogram2d) converts the histogram to floats to preserve a behavior seen a decade ago. This is of course inconsistent with the np.histogram and I think it should be changed at this point.
The fix is quite trivial, just wanted to discuss this with someone before I open a PR.

Best,
Joseph

Related:
https://github.com/numpy/numpy/issues/7845
https://mail.python.org/archives/list/[email protected]/thread/NIHE7UT4SDPU6KCDSMUIU2UA52PDSEIJ/
_______________________________________________
NumPy-Discussion mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/numpy-discussion.python.org
Member address: [email protected]