The function np.nonzero returns a tuple of indices that can be used to index the array (for example the one that the condition was based on).
確定! 回上一頁