Re: [Numpy-discussion] Views of a different dtype

2015-01-30 Thread Jaime Fernández del Río
On Thu, Jan 29, 2015 at 8:57 AM, Nathaniel Smith wrote: > On Thu, Jan 29, 2015 at 12:56 AM, Jaime Fernández del Río > wrote: > [...] > > With all these in mind, my proposal for the new behavior is that taking a > > view of an array with a different dtype would require: > > > > That the newtype a

Re: [Numpy-discussion] question np.partition

2015-01-30 Thread Jaime Fernández del Río
On Fri, Jan 30, 2015 at 5:58 AM, Julian Taylor < jtaylor.deb...@googlemail.com> wrote: > On 01/30/2015 02:57 AM, Neal Becker wrote: > > It sounds like np.partition could be used to answer the question: > > give me the highest K elements in a vector. > > > > Is this a correct interpretation? Somet

Re: [Numpy-discussion] question np.partition

2015-01-30 Thread Julian Taylor
On 01/30/2015 02:57 AM, Neal Becker wrote: > It sounds like np.partition could be used to answer the question: > give me the highest K elements in a vector. > > Is this a correct interpretation? Something like partial sort, but returned > elements are unsorted. > > I could really make some use

Re: [Numpy-discussion] Testing of scipy

2015-01-30 Thread Carl Kleffner
Hi Colin. this is an interesting test with different hardware. As a summary: - Python-2.7 amd64 - numpy-0.1.9.openblas: OK - scipy-0.15.1.openblas:2 errors 11 failures - CPU: AMD A8-5600K APU (piledriver) scipy errors and failures due to piledriver: (1) ERROR: test_improvement (test_qua