print(np.sum(x1,axis = 1)) # Returns the sum over each row ... you find elements of a NumPy array for which a sum is specified (Python, NumPy, development)?.
確定! 回上一頁