Re: [Numpy-discussion] bincount question

2011-01-08 Thread Friedrich Romstedt
2010/12/21 Alan G Isaac : > :: > >     >>> np.bincount([]) >     Traceback (most recent call last): >       File "", line 1, in >     ValueError: The first argument cannot be empty. > > Why not? > (I.e., why isn't an empty array the right answer?) >From the (i.e. "a", or, even more precise, "my")

[Numpy-discussion] bincount question

2010-12-21 Thread Alan G Isaac
:: >>> np.bincount([]) Traceback (most recent call last): File "", line 1, in ValueError: The first argument cannot be empty. Why not? (I.e., why isn't an empty array the right answer?) Thanks, Alan Isaac ___ NumPy-Discussion ma