Re: [Numpy-discussion] compress() signature

2008-08-10 Thread Robert Kern
On Sun, Aug 10, 2008 at 19:37, Christoph T. Weidemann <[EMAIL PROTECTED]> wrote: > The signature for numpy.compress() seems somewhat inconsistent with > other functions, because the first argument it expects is not the > array but the condition. This tends to throw me off when I use this > function

[Numpy-discussion] compress() signature

2008-08-10 Thread Christoph T. Weidemann
The signature for numpy.compress() seems somewhat inconsistent with other functions, because the first argument it expects is not the array but the condition. This tends to throw me off when I use this function, because the common order for other functions seems to be: 1) input array 2) function sp