I have a strange problem I haven´t had so far. I have a list of 16 lists of Integers and Rationals and want to show the 16 Histograms. Problem: The Histogram for the second list is not shown, the computations hangs. The other ones compute in less than a second. The lists are of lengths 450.000+ and all values are between 0 and 1 (they are Jaccard coefficients of sets). At the moment I have no idea what I can do further. I make the data public accessible (File "histogram.m") via the following dropbox link: histogram.m.
Enclosed a screenshot of my "investigations". By the method "trial and error" I found that the second list of data is normally processed (histogram computed at a moment ) up to element number 131073 (the corresponding value is 3/8), the values surrounding this element are all "looking normal", i.e. all rationals between 0 and 1. It would be great if anyone has a hint for me what the source of the problem is.
My machine: MacBookPro Late 2016, MacOS 10.12.6, Mathematica 11.1.1.0
Update:
The problems seems to reside in the way Histogram
computes the bins. If I use Histogram[#,{0.1}]&
everything is fine.
Sort
seems to resolve the problem, whatever it is. $\endgroup$