赞
踩
# import necessary packages
import numpy as np
# create 2 arrays
# 一行两列和三行三列的矩阵
Array1 = np.arange(2).reshape(1, 2)
Array2 = np.arange(2, 10).reshape(3, 3)
# print 2 arrays
print(Array1)
print(Array2)
print(Array1+Array2)
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。