1 | initial version |
The numpy histogram function will bin values together: http://docs.scipy.org/doc/numpy/reference/generated/numpy.histogram.html
The Sage Timeseries histogram function also bins data: http://www.sagemath.org/doc/reference/sage/finance/time_series.html#sage.finance.time_series.TimeSeries.histogram