import numpy as np # axis = 0表示对最外层[]里的最大单位块做块与块之间的运算,同时移除最外层[]: a = np.array([1, 2, 3]) print(a.sum(axis=0))
確定! 回上一頁