ufunc: In [10]: np.add(x, 2) Out[10]: array([2, 3, 4, 5]) Table 6-1 lists the arithmetic operators implemented in NumPy. Table 6-1.
確定! 回上一頁