pyinterp.StreamingHistogram.size

StreamingHistogram.size() ndarray[source]

Returns the number of bins allocated to calculate the histogram.

If size() is equal to count() then the histogram used to calculate the statistics is un-compressed. Otherwise, the histogram is compressed, which means that the calculated statistical quantities are an approximation of the statistical variables.

Returns:

Number of bins allocated to calculate the histogram.