### Re: [Numpy-discussion] GSoC?

On Wed, Feb 10, 2016 at 4:22 PM, Chris Barkerwrote: > We might consider adding "improve duck typing for numpy arrays" >> > > care to elaborate on that one? > > I know it come up on here that it would be good to have some code in numpy > itself that made it easier to make

### Re: [Numpy-discussion] Fwd: Windows wheels for testing

On Sat, Feb 13, 2016 at 9:55 AM, Jonathan Helmuswrote: > > > On 2/12/16 10:23 PM, Matthew Brett wrote: >> >> On Fri, Feb 12, 2016 at 8:18 PM, R Schumacher wrote: >>> >>> At 03:45 PM 2/12/2016, you wrote: PS C:\tmp> c:\Python35\python -m venv

### Re: [Numpy-discussion] Proposal to add `weights` to `np.percentile` and `np.median`

On Tue, Feb 16, 2016 at 2:48 PM, Joseph Fox-Rabinovitz < jfoxrabinov...@gmail.com> wrote: > Please correct me if I misunderstood, but the code in that commit is > doing a full sort, somewhat similar to what > `scipy.stats.scoreatpercentile`. If that is correct, I will run some > benchmarks first,

### Re: [Numpy-discussion] building NumPy with gcc if Python was built with icc?!?

In principle this should work (offer may be void on windows which has its own special weirdnesses, but I assume you're not on windows). icc and gcc should both support the same calling conventions and so forth. It sounds like you're just running into an annoying build system configuration issue

### Re: [Numpy-discussion] Proposal to add `weights` to `np.percentile` and `np.median`

Please correct me if I misunderstood, but the code in that commit is doing a full sort, somewhat similar to what `scipy.stats.scoreatpercentile`. If that is correct, I will run some benchmarks first, but I think there is value to going forward with a numpy version that extends the current

### Re: [Numpy-discussion] building NumPy with gcc if Python was built with icc?!?

I'm not sure about anyone else, but having been playing around with both gcc and icc, I'm afraid you might be out of luck. Is there any reason why you can't use a Python distribution built with gcc? On Tue, Feb 16, 2016 at 7:39 PM, BERGER Christianwrote: > Hi All, >

### [Numpy-discussion] building NumPy with gcc if Python was built with icc?!?

Hi All, Here's a potentially dumb question: is it possible to build NumPy with gcc, if python was built with icc? Right now, the build is failing in the toolchain check phase, because gcc doesn't know how to handle icc-specific c flags (like -fp-model, prec-sqrt, ...) In our environment we're

### Re: [Numpy-discussion] Proposal to add `weights` to `np.percentile` and `np.median`

On Tue, Feb 16, 2016 at 1:41 PM, Joseph Fox-Rabinovitz < jfoxrabinov...@gmail.com> wrote: > Thanks for pointing me to that. I had something a bit different in > mind but that definitely looks like a good start. > > On Tue, Feb 16, 2016 at 1:32 PM, Antony Lee> wrote: > >

### Re: [Numpy-discussion] Proposal to add `weights` to `np.percentile` and `np.median`

Thanks for pointing me to that. I had something a bit different in mind but that definitely looks like a good start. On Tue, Feb 16, 2016 at 1:32 PM, Antony Leewrote: > See earlier discussion here: https://github.com/numpy/numpy/issues/6326 > Basically, naïvely sorting

### Re: [Numpy-discussion] Proposal to add `weights` to `np.percentile` and `np.median`

See earlier discussion here: https://github.com/numpy/numpy/issues/6326 Basically, naïvely sorting may be faster than a not-so-optimized version of quickselect. Antony 2016-02-15 21:49 GMT-08:00 Joseph Fox-Rabinovitz: > I would like to add a `weights` keyword to

### Re: [Numpy-discussion] [Suggestion] Labelled Array

Just something I tried with pandas: >>> image array([[[ 0, 1, 2, 3, 4], [ 5, 6, 7, 8, 9], [10, 11, 12, 13, 14], [15, 16, 17, 18, 19]], [[20, 21, 22, 23, 24], [25, 26, 27, 28, 29], [30, 31, 32, 33, 34], [35, 36, 37, 38, 39]],

### Re: [Numpy-discussion] NumPy 1.11.0b3 released.

On Di, 2016-02-16 at 00:13 -0500, josef.p...@gmail.com wrote: > > > On Tue, Feb 16, 2016 at 12:09 AM,wrote: > > > > > > > > > > Or, it forces everyone to watch out for the color of the ducks :) > > > > It's just a number, whether it's python scalar, numpy scalar, 1D

### Re: [Numpy-discussion] Fwd: Numexpr-3.0 proposal

2016-02-16 10:04 GMT+01:00 Robert McLeod: > On Mon, Feb 15, 2016 at 10:43 AM, Gregor Thalhammer < > gregor.thalham...@gmail.com> wrote: > >> >> Dear Robert, >> >> thanks for your effort on improving numexpr. Indeed, vectorized math >> libraries (VML) can give a large boost

### [Numpy-discussion] Fwd: Numexpr-3.0 proposal

On Mon, Feb 15, 2016 at 10:43 AM, Gregor Thalhammer < gregor.thalham...@gmail.com> wrote: > > Dear Robert, > > thanks for your effort on improving numexpr. Indeed, vectorized math > libraries (VML) can give a large boost in performance (~5x), except for a > couple of basic operations (add, mul,

### Re: [Numpy-discussion] Numexpr-3.0 proposal

On Mon, Feb 15, 2016 at 7:28 AM, Ralf Gommerswrote: > > > On Sun, Feb 14, 2016 at 11:19 PM, Robert McLeod > wrote: > >> >> 4.) I took a stab at converting from distutils to setuputils but this >> seems challenging with numpy as a dependency. I