: [Numpy-discussion] np.histogramdd of empty data
To: Nils Becker n.bec...@amolf.nl
On Thu, Mar 31, 2011 at 12:33 PM, Nils Becker n.bec...@amolf.nl wrote:
Hi Ralf,
I cloned numpy/master and played around a little.
when giving the bins explicitely, now histogram2d and histogramdd work
Hi Ralf,
I cloned numpy/master and played around a little.
when giving the bins explicitely, now histogram2d and histogramdd work
as expected in all tests i tried.
However, some of the cases with missing bin specification appear
somewhat inconsistent.
The first question is if creating
-- Forwarded message --
From: Ralf Gommers ralf.gomm...@googlemail.com
Date: Thu, Mar 31, 2011 at 7:31 PM
Subject: Re: [Numpy-discussion] np.histogramdd of empty data
To: Nils Becker n.bec...@amolf.nl
On Thu, Mar 31, 2011 at 12:33 PM, Nils Becker n.bec...@amolf.nl wrote:
Hi Ralf
On Thu, Mar 31, 2011 at 12:32 PM, Ralf Gommers
ralf.gomm...@googlemail.comwrote:
-- Forwarded message --
From: Ralf Gommers ralf.gomm...@googlemail.com
Date: Thu, Mar 31, 2011 at 7:31 PM
Subject: Re: [Numpy-discussion] np.histogramdd of empty data
To: Nils Becker n.bec
On Tue, Mar 22, 2011 at 11:28 AM, Nils Becker n.bec...@amolf.nl wrote:
Hi,
I was wondering why histogram2d and histogramdd raise a ValueError when
fed with empty data of the correct dimensions. I came across this as a
corner case when calling histogram2d from my own specialized histogram
Hi,
I was wondering why histogram2d and histogramdd raise a ValueError when
fed with empty data of the correct dimensions. I came across this as a
corner case when calling histogram2d from my own specialized histogram
function.
In comparison, histogram does handle this case correctly when bins