[Numpy-discussion] removing and replacing certain values in arrays

Tim Michelsen timmichelsen@gmx-topmail...
Mon Jul 7 15:08:36 CDT 2008

how do I remove all rows (or column) from an array which contain a 
certain  value or sting?

some like:


Is there also possibility to replace all occurences of a certain value 
in a array by nothing or another one?

I am not looking to masking the values under question in this case here.

I will appreciate any help.

Kind regards,

More information about the Numpy-discussion mailing list