[SciPy-user] Quick way to delete all 'values' from array

Adrian Price-Whelan adrian.prw@gmail....
Tue Jul 14 09:56:33 CDT 2009


Hey --

I'm just looking for the quickest way to remove all X from an array  
[a,b,c,d,X,e,X,f,gX] or it could be multidimensional, I suppose, but  
thats the idea. I understand delete() will remove a value at a  
specific index, but I was unsuccessful in combining this function with  
'where' to get what I want. Any suggestions?

Thanks,
-Adrian


More information about the SciPy-user mailing list