腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(3025)
视频
沙龙
2
回答
IndexError
:
元组
索引
超出范围
(
XGBoost
)
python
、
xgboost
、
index-error
我想使用
XGBoost
,但我总是遇到这个错误:
IndexError
: tuple index out of range 我的代码: from sklearn.model_selection importfeatures] from
xgboost
浏览 23
提问于2021-01-15
得票数 0
1
回答
将多线程selenium脚本部署到heroku
python
、
multithreading
、
selenium
、
heroku
if e.args[0] not in [26, 13] and e.args[1] not in [2022-11-02T02:57:41.062221+00:00 app[worker.1]:
IndexError
浏览 3
提问于2022-11-02
得票数 0
1
回答
为什么显示
元组
指数
超出范围
?
python
、
python-3.x
而错误是
IndexError
:
浏览 4
提问于2021-12-12
得票数 -1
2
回答
带动态参数的函数调用时的
元组
索引
python
> def test(self,*arg):>>> p = Test()>>> p.test(t)为什么会这样呢?那我怎么得到那个
元组
的价值呢?
浏览 2
提问于2013-10-24
得票数 2
回答已采纳
3
回答
元组
指数
超出范围
python
、
function
、
tuples
、
tic-tac-toe
print "\n\t\t\t\t",moves[6],"|",moves[7],"|",moves[8]是我所犯的错误。到目前为止,我已经将行中的789更改为678,因为
索引
从0开始。什么都没发生。 接下来,我尝试了其他各种小的更改,每一个都更改了错误,或者只是给了我相同的错误。
浏览 8
提问于2015-05-08
得票数 0
回答已采纳
2
回答
我有一列数据。我想重塑它,这样我就可以把它应用到RNN中了。
python
、
numpy
、
machine-learning
、
deep-learning
、
deeplearning4j
X_train=np.reshape(Y,(Y.shape[0],Y.shape[1],1))
IndexError
:
超出范围
的
元组
索引
浏览 2
提问于2020-06-10
得票数 1
回答已采纳
2
回答
元组
索引
超出字符串格式的范围
python
我有一个
元组
:它有六个元素(
索引
Start Time: {}我得到一个&qu
浏览 7
提问于2016-06-07
得票数 0
回答已采纳
2
回答
Python,
元组
索引
超出范围
image
、
python-2.7
、
tkinter
、
tkinter-canvas
我想在根窗口中显示一个图像,但是上面写着 文件"C:\Users\Marrin\Anaconda2\lib\lib-tk\Tkinter.py",第2298行,在_create中
IndexError
:
元组
索引
超出范围
浏览 5
提问于2015-12-30
得票数 1
回答已采纳
1
回答
千层面一维卷积误差
python
、
neural-network
、
conv-neural-network
、
lasagne
self.input_shape)文件self.input_shape第237行中,在get_output_shape_for output_length = conv_output_length(input_shape2,
IndexError
:
元组
索引
超出范围
内)中
浏览 2
提问于2015-11-02
得票数 1
回答已采纳
1
回答
IndexError
:
超出范围
的字符串
索引
python
、
pyspark
West", "Apple", 3.0, 10,2.0, 10,2.0, 10,2.0, 10,2.0, 10,2.0, 10,2.0])下一步,我正在尝试reduceByKey (在上面的
元组
中的值上实现类似于聚合的rdd2 = rdd1.reduceByKey(lambda x,y: (x[1]+',
浏览 1
提问于2015-08-27
得票数 1
1
回答
Indexerror
:
元组
索引
超出范围
python
、
arrays
、
tuples
、
index-error
给出的错误是
元组
索引
超出范围
。当我检查变量时,数组是在3,11矩阵中生成的,但只填充了前两行。我不确定如何更正我的代码?
浏览 5
提问于2017-02-23
得票数 0
4
回答
在python中使用
元组
和.format
python
、
format
、
tuples
{} hello {} ola {}"text.format(tuple) Hi a hello b ola c 不知道怎么解决这个问题!
浏览 4
提问于2020-01-27
得票数 4
回答已采纳
2
回答
IndexError
:
元组
索引
超出范围
django
、
postgresql
、
django-models
、
django-views
views.py", line 23, in get_queryset
IndexError
浏览 0
提问于2013-07-28
得票数 1
回答已采纳
1
回答
IndexError
:
元组
索引
超出范围
python
、
tensorflow
、
machine-learning
、
keras
、
lstm
在跟踪python项目以松散预测股票价格时,我遇到了一个LSTM模型的
索引
错误。这是我所遵循的指南,我的代码大致匹配:。> lstm_model.add(LSTM(units=50, return_sequences=True, input_shape=(np.shape(x_train_data)[1], 1)))
IndexError
浏览 0
提问于2021-11-09
得票数 0
回答已采纳
1
回答
IndexError
:
元组
索引
超出范围
python
、
django
我有一个字典,它包含一个列表,列表元素应该是
元组
。 result=result.filter(attribute__price__range=value) 我得到
IndexError
:
元组
索引
超出范围
浏览 2
提问于2018-06-05
得票数 0
回答已采纳
3
回答
如何在fit_transform上修正“
元组
索引
超出范围
”的错误?
scikit-learn
、
tuples
我有一个一维
元组
,其中包含从.csv文件中读取的数据。然后用下面的代码初始化一个热编码器类。但是,我一直有个错误output_data = one_hot_encoder.fit_transform(output_data).toarray() 我一直得到一个错误"
IndexError
:
元组
索引
超出范围
“
浏览 0
提问于2019-06-22
得票数 0
回答已采纳
2
回答
用户输入一个数字到序列下面的数字列表到0
python
、
list
、
iteration
我所做的每一次尝试都给了我
IndexError
:
元组
索引
超出范围
浏览 1
提问于2018-11-05
得票数 0
1
回答
二元搜索迭代与递归
元组
(python)
python
、
recursion
、
binary-search
Documents/p93_binsearch.py", line 127, in isMemberR
IndexError
Documents/p93_binsearch.py", line 127, in isMemberR
IndexError
浏览 1
提问于2018-03-11
得票数 0
回答已采纳
1
回答
IndexError
:使用组合在一起的两个
元组
时
元组
索引
超出范围
python
我正在尝试访问由两个
元组
组成的第二个
元组
: self.to_bus_y_coord.setText(str(geodata[3])) 我得到以下错误:
IndexError
:
元组
索引
超出范围
浏览 23
提问于2019-03-28
得票数 0
回答已采纳
1
回答
IndexError
:
元组
索引
超出最大池化范围
keras
、
max-pooling
, 553777, 19, 1) ph = MaxPooling2D ( pool_size=(1,3) )(phrasing) 并得到以下错误:
IndexError
:
元组
索引
超出范围
浏览 8
提问于2018-02-19
得票数 1
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
“6大数据类型方法归纳总结(下)”
Python项操作
python常见的报错类型
Python基础教程基本的序列和映射协议
10 行代码,9 行报错,8 个警告…一个都逃不掉!
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券