腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
什么
是
不可
排序
的
类型
:
int
() < _
LocIndexer
()?
python
、
python-3.x
、
pandas
>top=
int
(top) right=
int
(right) ty=0 ty=0 ls.append('')错误
是
unorderable types:
int
() < _<
浏览 4
提问于2017-08-11
得票数 0
2
回答
loc[ ]
是
Pandas中
的
函数吗
python
、
pandas
调用函数
的
常规语法
是
loc[] (),但我注意到pandas中
的
func没有括号,仍然被视为函数。loc []真的
是
pandas中
的
函数吗?
浏览 1
提问于2021-02-04
得票数 0
1
回答
不可
排序
类型
:
int
() < str()
python
、
python-3.x
我得到了错误'Unorderable Types:
int
() < str()‘,我不知道为
什么
。end = input('enter total numbers:')total = 0number = 0 while number
浏览 5
提问于2015-03-20
得票数 1
1
回答
不可
排序
类型
: str() <
int
()
python-3.x
、
pandas
、
numpy
我设计了一个基本
的
垃圾邮件分类程序(python 3),使用熊猫,numpy和sklearn,但我得到了这个错误,无法确定在哪里。我试图查看不同变量
的
数据
类型
,但没有找到位置。(哈姆=不是垃圾邮件)输入文件不必处理此错误,因为它处理python2.7
的
包/模块兼容性或数据
类型
转换错误。spam', 'spam')) data = data.append(dataFrameFromDirectory('D:/emails/ham'
浏览 4
提问于2016-12-22
得票数 0
回答已采纳
1
回答
不可
排序
类型
:
int
() > list()
python
on line 6, in arrayChangeTypeError: unorderable types:
int
() > list() 有人知道为
什么
会这样吗?我
什么
都试过了。
浏览 0
提问于2018-03-26
得票数 0
回答已采纳
2
回答
为
什么
std::list<
int
>
是
不可
排序
的
?
c++
、
list
、
c++-concepts
、
c++20
我正在读一篇关于C++概念(C++20,也就是)
的
文章(印刷,德语)。本文使用Sortable概念给出了一个函数模板
的
示例: requires Sortable<Cont>()它声称编译器将拒绝以下代码:sort(lst); 错误: lst不是具有<
的
随机
浏览 5
提问于2017-11-22
得票数 8
回答已采纳
2
回答
不可
排序
的
类型
:type()>
int
python
、
types
、
int
我
的
代码有问题。我一直收到关于这个
的
错误。现在我得到了
不可
排序
的
类型
错误。基本上,我需要我
的
程序接受一个座位限制,然后确保售出
的
门票数量在这个限制之内。然后我只需要计算门票销售产生
的
收入。我
是
python
的
新手,所以如果有任何帮助,我将非常感激。谢谢:) tick
浏览 4
提问于2014-03-12
得票数 0
2
回答
“
不可
排序
的
类型
:
int
() < str()”
python
、
calculator
Documents/Let Me Retire.py", line 8, in <module>TypeError: unorderable types:
int
浏览 0
提问于2013-02-15
得票数 17
回答已采纳
1
回答
不可
排序
的
类型
:
int
() > range()
python
、
python-3.x
我有一个用Python创建战舰
的
任务,当用户在5x5网格之外输入坐标时,我想要一个弹出窗口,说明它超出了范围。我
的
问题
是
我收到一条错误消息"unorderable type:
int
() > range()",我
是
Python
的
新手,所以我不知道这是
什么
意思。
浏览 0
提问于2016-04-17
得票数 0
1
回答
不可
排序
的
类型
:
int
() < Entry()
python
、
python-3.x
、
tkinter
我一直在我
的
程序中遇到这个错误,我不知道如何修复它,因为我
是
python3
的
初学者。每当我试图在菜单中改变网格
的
大小时,这个错误就会发生。然后我去运行宝藏网格,我得到了这个错误,并且不知道如何解决。任何和所有的帮助
是
感激
的
!128, in placeChestsTypeError: unorderable types:
int
grid_row_spinbox = g
浏览 14
提问于2017-03-17
得票数 1
1
回答
TypeError:
不可
排序
类型
:
int
() > list()
python-3.x
、
typeerror
= 500temp_num = 0s = 0 for num in range(100): r2 =
int
(random.random()*10) length = len(speciestemp_num species[s-1] = []
浏览 5
提问于2015-11-07
得票数 3
回答已采纳
2
回答
TypeError:
不可
排序
类型
: tuple() >
int
()
python
、
numpy
、
typeerror
我正在尝试下面的代码来分解一个图像,但是我收到了错误:该bug位于以下行:完整
的
代码
是
:import argparse image= cv2.imread('das.jpg',
浏览 2
提问于2020-05-19
得票数 2
回答已采纳
1
回答
TypeError:
不可
排序
类型
: IntVar() >
int
()
python
、
tkinter
、
int
我试图在python上做一个点击游戏,但是我一直得到错误
的
"TypeError: unorderable types: IntVar() >
int
()",我看过其他帖子,仍然不理解.get。到目前为止,我
的
代码如下:from tkinter import *root.geometry("160x100
浏览 3
提问于2017-09-26
得票数 1
回答已采纳
2
回答
TypeError:
不可
排序
类型
: atm() >=
int
()
python
、
inheritance
、
python-3.x
、
overriding
、
typeerror
我想让我
的
类atmFees从父类ATM继承方法。我完全不知道从这里该做
什么
,我几乎改变了一切,但我似乎无法让它发挥作用。print()
浏览 1
提问于2015-04-25
得票数 0
2
回答
TypeError:
不可
排序
类型
: str() <=
int
()
python
、
typeerror
、
python-3.5
我试图获取一个列表,share_list,然后逐个循环列表,并生成一个针对结果
的
输出。9, in <module>TypeError: unorderable types: str() <=
int
浏览 3
提问于2016-08-22
得票数 0
回答已采纳
2
回答
如何用loc来访问熊猫中
的
行?ValueError:对象
类型
DataFrame没有命名为XXX
的
轴
python
、
pandas
下面
是
我正在处理
的
数据,这里
是
熊猫
的
DataFrame,行
的
索引
是
字符串Finger 1.000000 0.708020 0.825508 0.573568 0.757162 当我做SET1
是
DataFrameprint(SET1.loc('
浏览 5
提问于2022-01-26
得票数 -1
2
回答
TypeError (
不可
排序
的
类型
:
int
() <= NoneType())
python
、
types
我使用
的
是
Python34,根本无法理解到底发生了
什么
。while 0 <= v: # error points to this line我声明v
是
一个值为0
的
整数。但是当我尝试将它与另一个整数进行比较时,它给出了错误消息unorderable types:
int
() <= NoneType()我可以使用一些指导。谢谢
浏览 0
提问于2014-04-29
得票数 2
回答已采纳
1
回答
TypeError:
不可
排序
的
类型
: str() <
int
()
python
、
scikit-learn
我使用
的
是
python3.5,所有的包都是以下版本我用
的
是
windows操作系统。File "F:/liyulin/tf_idf2.py", line 7, in <module> from sklearn import feature
浏览 0
提问于2016-11-19
得票数 4
3
回答
TypeError:
不可
排序
的
类型
: str() >
int
()
python
、
python-3.x
嗨,伙计们,我得到了错误当我运行下面的代码时。我刚刚开始学习python。
浏览 0
提问于2016-08-12
得票数 1
1
回答
TypeError:
不可
排序
的
类型
:
int
() < str()
python
、
python-3.x
当我在我
的
JSON新闻数据集上应用5W1H提取器(它是Git中
的
开源库)时,出现了一个错误。文件尝试运行时出现错误 raw_locations.sort(key=lambda x: x[1], reverse=True) 然后,控制台给出错误信息: TypeError: unorderable types:
int
() < str() 我
的
问题
是
:这是否意味着我
的
数据集格式有问题?但是,如果
是
这样的话,当提取器处理这个语料库时,它不是应该将所有的新闻数据都视为一个
浏览 12
提问于2019-09-16
得票数 0
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
实时音视频
云点播
活动推荐
运营活动
广告
关闭
领券