Numpy中的axis. 也就是順著axis 0 軸求和,最後得到一個一維數組: >>> np.sum([[0, 4, 2], [-2, 5, 3]], axis=0) array([-2, 9, 5]).
確定! 回上一頁