using StatsBase
x = randn(100)
h = fit(Histogram, x)
h.edges
h.weights
20M data points are not that many, but the package OnlineStats also has functionality for this if you prefer.
using StatsBase
x = randn(100)
h = fit(Histogram, x)
h.edges
h.weights
20M data points are not that many, but the package OnlineStats also has functionality for this if you prefer.