human
How to find the minimum value in a numpy matrix?
assistant
Here is some code to find the minimum value in a numpy array `arr` excluding 0

arr[arr != 0].min()

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.