Numpy 学习笔记

Numpy 学习笔记

1. 数组迭代

>>> import numpy as np

>>> A = np.arange(10,19).reshape((3,3))

>>> A

array([[10, 11, 12],

[13, 14, 15],

[16, 17, 18]])

>>> ......