numpy.where (condition[, x, y]). numpy.where() 有兩種用法:. 1. np.where(condition, x, y). 滿足條件(condition),輸出x,不滿足輸出y。
確定! 回上一頁