I have been searching for a way to modify 2D array elements in the most efficient way, and I have found the "where" function on numpy, but I have a problem: I want