代码: print(classification_report(y_test, pca_y_predict, target_names=np.arange[10].astype(str))) ...
原本我写的代码: cookie dict i.split :i.split for i in cookies str.split TypeError: builtin function or method object is not subscriptable 发现是: 截取的,我写成了中过好 一般这个错误: uiltin function or method object is not subs ...
2019-11-21 20:13 0 384 推荐指数:
代码: print(classification_report(y_test, pca_y_predict, target_names=np.arange[10].astype(str))) ...
1. Background: python 3/win10 2. Error Line: 3. Solution index()是对list的函数,所以要用圆括号,而不是方括号 ...
locateType, locatorExpression = self.loginOptions["loginPage.password".lower()].split[">"] 将以上 ...
这个程序是正确的版本 上面这个程序出现了错误 他报程序第7行也就是for循环那边不可以迭代,for循环只有z我们,我们从上面的图片看到z的赋值那边与正确答案不对,使用join错 ...
'builtin_function_or_method' object has no attribute 'translate' 首先这个错误的意思是:内建函数或方法对象不能转换成对应的属性。 创建时间created_data 赋值 ...
AttributeError: 'builtin_function_or_method' object has no attribute 'reshape' 读取.mat文件时,copy没加括号 ...
引入模块是这样的 from random import random 改为: import random ...