I have a numpy structured array with a dtype such as: A = numpy.empty(10, dtype=([(\'segment\', \'<i8\'), (\'material\', \'<i8\'), (\'rxN\', \'<i8\')]))
Currently I have a code that checks if given element in array is equal = 0 and if so then set the value to \'level\' value (temp_board is 2D numpy array, indices_to_watch contains 2D coordinates that