Re: [Numpy-discussion] select part of array using two conditions

2006-10-11 Thread Bill Baxter
On 10/11/06, Nils Wagner <[EMAIL PROTECTED]> wrote: > Mark Bakker wrote: > > Hello - > > > > I want to select part of an array using two conditions. > > I know how to do it with one condition (and it works great), but when > > I use two conditions I get an error message? > > This is probably easy,

Re: [Numpy-discussion] select part of array using two conditions

2006-10-11 Thread Nils Wagner
Mark Bakker wrote: > Hello - > > I want to select part of an array using two conditions. > I know how to do it with one condition (and it works great), but when > I use two conditions I get an error message? > This is probably easy, but I cannot figure it out. > Thanks for any help, Mark > > >>> a

Re: [Numpy-discussion] select part of array using two conditions

2006-10-11 Thread Francesc Altet
El dc 11 de 10 del 2006 a les 11:06 +0200, en/na Mark Bakker va escriure: > Hello - > > I want to select part of an array using two conditions. > I know how to do it with one condition (and it works great), but when > I use two conditions I get an error message? > This is probably easy, but I cann

[Numpy-discussion] select part of array using two conditions

2006-10-11 Thread Mark Bakker
Hello -I want to select part of an array using two conditions.I know how to do it with one condition (and it works great), but when I use two conditions I get an error message?This is probably easy, but I cannot figure it out. Thanks for any help, Mark>>> a = arange(10)>>> aarray([0, 1, 2, 3, 4, 5,