Posts by Ramon Tanoeiro • 9 points
1 post
-
-1
votes2
answers529
viewsQ: Change array values using for and if
Hello, I have an array with several values. I would like to replace the values above -0.54 to 1 and the values below -0.54 to 0. Below is my results name array: array([-2.06133692, 0.3721 ,…