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

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


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


some like:

array.delte_row_from_array_wich_contains('March')
array.delte_row_from_array_wich_contains(-333)

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,
Timmie



More information about the Numpy-discussion mailing list