[Numpy-discussion] Ticket #605 Incorrect behavior of numpy.histogram

Tommy Grav tgrav@mac....
Sun Apr 6 21:36:05 CDT 2008


On Apr 5, 2008, at 2:01 PM, Bruce Southey wrote:

> Hi,
> I have been investigating Ticket #605 'Incorrect behavior of
> numpy.histogram' (http://scipy.org/scipy/numpy/ticket/605 ).

I think that my preference depends on the definition of what
the bin number means. If the bin numbers are the lower bounds
of the bins (numpy default behavior) then it would make little
sense to exclude anything above the largest bin.

I don't have access to numpy on my laptop at the moment,
so I can't remember wether numpy has a keyword for what
the bins array is defining? Having this as a keyword of
(lower,middle,upper) of the bin would be very helpful.

Cheers
   Tommy


More information about the Numpy-discussion mailing list