python numpy array 的sum用法

如图:

sum可以指定在那个轴进行求和;

且第0轴是纵向,第一轴是横向;

 

posted @ 2019-06-19 15:52  rainsoul  Views(6707)  Comments(0Edit  收藏  举报