How to get argmin positive values of a 2d array in python

后端 未结 0 1272
隐瞒了意图╮
隐瞒了意图╮ 2021-01-26 05:48

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         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题