Let's say I have this array:
import numpy as np
np.array([[0,2,7],[-3,4,0],[12,10,12]])
I'm trying to change the values of one column if one or more values in the column are less than zero. The code should be general and not just for this array How do I set all of the values in the middle vector to -3?
