meaning 7 is at the index x0 = 2 and x1 = 0. Note that for a 2d matrix numpy.where() returns a 2d typle. Another example np.where(a==70).
確定! 回上一頁