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

Tim Michelsen timmichelsen at gmx-topmail.de
Mon Jul 7 16:08:36 EDT 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