1 a = np.array([-4, -2, 1, 3, 5])
2 a.sum()
3

1 a.max()
5

1 a.min()
-4

1 a.mean()
0.60

1 a.std()
3.26

1 a.argmax()
4

1 a.argmin()
0




posted on 2018-03-05 20:19  郑哲  阅读(105)  评论(0编辑  收藏  举报