Re: [Numpy-discussion] Test if one element of string array is in a defined list

2010-03-22 Thread Neil Crighton
Eric Emsellem eso.org> writes: > Hi > > I would like to test whether strings in a numpy S array are in a given list but > I don't manage to do so. Any hint is welcome. > > === > # So here is an example of what I would like to do > # I have a

[Numpy-discussion] Test if one element of string array is in a defined list

2010-03-22 Thread Eric Emsellem
Hi I would like to test whether strings in a numpy S array are in a given list but I don't manage to do so. Any hint is welcome. === # So here is an example of what I would like to do # I have a String numpy array: import numpy as num Sarray =