摘要: 1 import numpy as np 2 3 # 创建 4 # 创建一维数组 5 a = np.array([1, 2, 3]) 6 print(a) 7 ''' 8 [1 2 3] 9 ''' 10 # 创建多维数组 11 b = np.array([(1, 2, 3), (4, 5, 6)]) 12 print(b) 13 ''' 14 [... 阅读全文
posted @ 2018-10-28 17:07 xsan 阅读(2883) 评论(0) 推荐(0) 编辑