print(inv(lst))
NameError: name 'inv' is not defined
NameError: name 'inv' is not defined
2018-02-07
File "D:/迅雷下载/python/text1.py", line 33, in main
print(np.exp(lst))
AttributeError: 'NoneType' object has no attribute 'exp'
print(np.exp(lst))
AttributeError: 'NoneType' object has no attribute 'exp'
2018-02-06
D:\迅雷下载\python\python.exe D:/迅雷下载/python/text1.py
Traceback (most recent call last):
File "D:/迅雷下载/python/text1.py", line 2, in <module>
import numpy as np
ModuleNotFoundError: No module named 'numpy'
Traceback (most recent call last):
File "D:/迅雷下载/python/text1.py", line 2, in <module>
import numpy as np
ModuleNotFoundError: No module named 'numpy'
2018-02-05
x= np.abs(x) < 0.5
print([int(item) for item in xline___])
#false 0 true 1
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
y1转成 隐式转换了
print([int(item) for item in xline___])
#false 0 true 1
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
y1转成 隐式转换了
2018-02-02