For 1-D arrays, np.append() works as you might expect (the same as Python lists):. np.append(np.zeros(3), 1) # Expected result # array([0., ...
確定! 回上一頁