[Numpy-discussion] where

Ryan Krauss ryanlists at gmail.com
Thu Apr 13 09:11:10 CDT 2006

Can someone help me understand the proper use of where?

I want to use it like this

myvect=where(f>19.5 and phase>0, f, phase)

but I seem to be getting or rather than and.



More information about the Numpy-discussion mailing list