pyinterp.StreamingHistogram.size

StreamingHistogram.size() numpy.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

Returns number of bins allocated to calculate the histogram.

Return type

numpy.ndarray