Re: "where" in python

2009-06-04 Thread Robert Kern
On 2009-06-04 12:53, Chris wrote: I am a newby in Python and I'm first looking for equivalent to things I already manage: IDL. For example, I want to plot a sub-set of points, selected from a bigger set by applying some filter. In my example, I want to select only the values> 0. I succeed to wri

"where" in python

2009-06-04 Thread Chris
I am a newby in Python and I'm first looking for equivalent to things I already manage: IDL. For example, I want to plot a sub-set of points, selected from a bigger set by applying some filter. In my example, I want to select only the values > 0. I succeed to write 5 different ways to do this, whic