Hey guys,
I have a matrix like that:
2945 545 2 2 2,82; 2394 345 NaN 3 4,89; 3453 123 23 4 NaN; 4564 435 53 2 2,98
How can I change all numbers of a row which contains one or more NaNs to zero? The desired output would be:
2945 545 2 2 2,82; 0 0 0 0 0; 0 0 0 0 0; 4564 435 53 2 2,98
Thanks a lot for your help! Valle
Best Answer