摘要: import numpy as npif __name__ == '__main__': a=np.random.randint(0,10,size=[3,3]) print(a) 输出: [[6 8 3] [1 9 1] [8 7 6]] 阅读全文
posted @ 2018-12-03 13:32 GXTon 阅读(997) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/hustqb/article/details/78090365 TypeError: can only concatenate list (not "int") to list 出错原因 A=np.array([a,a+2,a]) 去掉红色部分解决 之所以 阅读全文
posted @ 2018-12-03 10:12 GXTon 阅读(2142) 评论(0) 推荐(0)