报错模块“NUMPY”没有属性“数组”
#encoding=utf-8 import numpy as np a=[[1,3,5],[2,4,6]] print(type(a)) b=np.array(a) print(type(b)) 为什么我写了代码,运行的时候报错? AttributeError: module 'numpy' has no attribute 'array'
#encoding=utf-8 import numpy as np a=[[1,3,5],[2,4,6]] print(type(a)) b=np.array(a) print(type(b)) 为什么我写了代码,运行的时候报错? AttributeError: module 'numpy' has no attribute 'array'
2018-04-22
举报