개발/Python
numpy axis
HEAD1TON
2018. 7. 13. 10:35
728x90
반응형
[[1 2 3]
[4 5 6]]
np.sum(a, axis=0) : [5 7 9]
np.sum(a, axis=1) : [6 15]
728x90
반응형