下面代码输出结果是:
1 2 3 import numpy as np a = np.array([1,2,3]) b = a.reshape(3,1) print (b)
复制链接后可在微信、QQ、小红书等平台粘贴分享;答案与解析在题目页。