Suppose we have a matrix and I want to find the argmin of each row such that the mean value is positive. For example,
[[10 0 30,-20], A = [40,50,20,30], [0