[Numpy-discussion] bug in argmax (?)
[Numpy-discussion] bug in argmax (?) Pau Gargallo pau.gargallo at gmail.com Tue May 16 06:22:44 EDT 2006. Previous message (by thread): [Numpy-discussion] Argument of complex number array?
[Numpy-discussion] bug in argmax (?) Pau Gargallo pau.gargallo at gmail.com Tue May 16 06:22:44 EDT 2006. Previous message (by thread): [Numpy-discussion] Argument of complex number array?
NaN, NaN, NaN]]) > >. I intend to use different arrays once I have resolved this problem. >examples are in docstring for np.cov >. as for "stacking rf1 rf1 into a single array first" how would I do this? >>> np.column_stack([np.arange(3)[:,None], np.arange(3)[:,None]]) array([[0, 0]
Previous message (by thread): [Numpy-discussion] np.bincount raises MemoryError when given an empty array.I think this could be considered as a correct answer, the count of any integer is zero. Returning an array with one zero, or the empty array or raising an exception?
What does this mean? The 1-d array that's being passed in has a different dimension than the 2d array. If we trust the error message, we should make the two arrays the same dimension before we pass them to functions that glue these arrays together.