Use np.where to get the indices where a given condition is True . Examples: For a 2D np.ndarray called a :
確定! 回上一頁