But NumPy turns all that inside out: the best approach is to express the algorithm as ... else: result.append(x[i]) return np.array(result).
確定! 回上一頁