腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
TypeError
:
需要
整数
(
got
类型
Timestamp
)
python
、
python-3.x
、
pandas
、
python-datetime
它显示的是
TypeError
: an integer is required (
got
type
Timestamp
)。
浏览 505
提问于2020-03-08
得票数 6
1
回答
来自pcap的时间戳值(django)
python
、
django
、
python-3.x
、
pcap
我正在解压缩如下:
timestamp
= time.strftime( '%Y-%m-%d %H:%M:%S' , time.localtime ( unpacked ) ) 错误:
TypeError
:
需要
一个
整数
(
got
类型
元组)
浏览 6
提问于2017-04-04
得票数 0
1
回答
TypeError
:
需要
一个
整数
(
got
类型
NoneType)
python
、
tensorflow
、
huggingface-transformers
、
onnx
、
huggingface-tokenizers
function"), FutureWarning)
TypeError
classification":
TypeError
: an integer is required (
got
type
浏览 11
提问于2022-01-13
得票数 1
回答已采纳
9
回答
TypeError
:
需要
一个
整数
(
got
类型
元组)
opencv
、
python-3.7
我试图为一个人脸识别项目或程序设置我的检测器,但是我一直收到这样的错误:我也试着改变: cv2.putText
浏览 0
提问于2018-10-01
得票数 15
回答已采纳
2
回答
TypeError
:
需要
整数
(
got
类型
元组) <python> <OpenCV> <tesseract>
python
、
opencv
、
tesseract
我正在尝试对发票进行文本识别。from pytesseract import Outputd = pytesseract.image_to_data(img, output_type=Output.DICT) n_boxes = len(d['lev
浏览 28
提问于2021-03-09
得票数 0
回答已采纳
2
回答
TypeError
:
需要
一个
整数
(
got
类型
str)
python
、
pandas
、
parquet
我有一个具有以下数据
类型
的dataframe:campanha[2020-02-06 19:15:06,597] {taskinstance.py:1047} ERROR - an integer is required (
got
type str)我知道列valor_ajustado的值如下:123,48[经] 493,987 有人知道它为什么要操纵
整数
而不是将列保
浏览 1
提问于2020-02-06
得票数 3
1
回答
TypeError
:
需要
一个
整数
(
got
类型
str)
python
、
mysql
、
django
__init__(*args, **kwargs2)
TypeError
: an integer is required (
got
type str) 我认为这种联系是正确的,但我不知道我为什么要犯这个错误
浏览 1
提问于2020-02-13
得票数 0
回答已采纳
1
回答
TypeError
: int是required...
got
类型
的列
python
、
json
、
dataframe
、
pyspark
、
nested
我创建了一个数据帧,并通过执行以下操作添加了一列: jsonDf = jsonDf.withColumn("REPORT_
TIMESTAMP
", to_
timestamp
(jsonDF.reportData.
timestamp
我
需要
做的下一件事是从"REPORT_
TIMESTAMP
“派生年份。我尝试了各种方法,例如: jsonDf.withColumn("YEAR", datetime.fromtimestamp(to_
timestamp
浏览 12
提问于2021-10-22
得票数 0
回答已采纳
2
回答
TypeError
:
需要
一个
整数
(
got
类型
为str)
python
、
flask
、
python-3.4
、
flask-wtforms
、
python-babel
flask\lib\site-packages\babel\core.py", line 58, in get_global
TypeError
: an integer is required (
got
type str) 我很沮丧我不能继续这个教程,所以任何帮助都是受欢迎的。
浏览 0
提问于2015-07-30
得票数 0
1
回答
Python
TypeError
:
需要
一个
整数
(
got
类型
str)
python
、
flask
我正在用Python构建一个简单的web应用程序,但是当我试图提交表单时,我收到了这个错误消息-from flask import Flask__init__(*args, **kwargs2)我不知道为什么会发生这种事,有人能指点我一下吗?
浏览 2
提问于2017-05-03
得票数 0
回答已采纳
2
回答
TypeError
:
需要
一个
整数
(
got
类型
为tuple)
python
、
date
、
datetime
、
timedelta
date(a) return abs(f-s)但我知道这个错误:我想知道为什么?
浏览 2
提问于2020-04-13
得票数 1
回答已采纳
1
回答
TypeError
:中
需要
一个
整数
(
got
类型
str)
python
、
selenium-webdriver
import unittestimport osfrom searchtest import searchtest class main_test(unittest.TestCase): test1=unittest.TestLoader().loadTestsFromTestCase(ultimatix_login1) tes
浏览 2
提问于2017-06-15
得票数 0
1
回答
TypeError
代码:
需要
一个
整数
(
got
类型
列表)
python
、
list
、
pybullet
错误跳转到行:使用此错误日志: File "C:\Users\AisyahJeff\niche_evo_single_species\old_modelAisyahJeff\niche_evo_single_species\old_model\test.py", line 69, in
浏览 18
提问于2022-04-06
得票数 1
2
回答
Python
TypeError
:
需要
一个
整数
(
got
类型
列表)
python
、
arrays
]myArray = array('i', [])for i in myArray:它返回如果我把它改为myArray.fromlist(int(sclist)),我会得到
TypeError
: int(
浏览 1
提问于2015-10-21
得票数 2
回答已采纳
1
回答
如何将Pandas DataFrame列从Pandas datetime64[ns]转换为Pyodbc SQL_
Timestamp
python
、
dataframe
、
odbc
、
pyodbc
、
ms-access-2016
研究表明,MS Access 日期/时间数据
类型
与ODBC SQL_
TIMESTAMP
数据
类型
相对应。我尝试使用以下方法将datetime64ns转换为SQL_
TIMESTAMP
:cursor.execute("INSERT sql statement...VALUES, datetime.datetime(order_date)) 但是,我得到了这个错误:
TypeError
:
需要
一个
整数
(
got</em
浏览 1
提问于2017-12-04
得票数 0
1
回答
织物的connection.forward_local在超出范围时失败
python
、
ssh
、
fabric
raise ThreadException([wrapper])Saw 1 exceptions within threads (
TypeError
\Python37\lib\site-packages\fabric\tunnels.py", line 60, in _run这是可能的。)
浏览 4
提问于2019-09-27
得票数 0
回答已采纳
2
回答
TypeError
: python中
需要
一个
整数
(
got
类型
str)
python
、
opencv
、
augmented-reality
、
aruco
的输出是:在那之后,我得到了错误:aruco_dict = aruco.Dictionary_get(path)如何解决此错误。
浏览 0
提问于2018-11-11
得票数 1
回答已采纳
1
回答
枕头图像
TypeError
:
需要
一个
整数
(
got
类型
元组)
python
、
image
、
python-3.x
、
python-imaging-library
、
pillow
因此,我试图获取图像的中值,并从中创建一个新的图像,但是当试图使newpix接收到我的红、绿和蓝中间像素的值时,会出现错误:发生 from PIL
浏览 2
提问于2016-09-23
得票数 1
回答已采纳
1
回答
builtins.
TypeError
:
需要
一个
整数
(
got
类型
元组)
python
、
pygame
然而,‘它说builtins.
TypeError
:一个
整数
是必需的(
got
类型
元组)’这是我的代码。
浏览 0
提问于2019-10-14
得票数 2
2
回答
TypeError
:请求中
需要
一个
整数
(
got
类型
str)
python
、
python-requests
它抛出一个错误,如下所示:import os loc = requests.get("https://theipaarchive.tk/listofipa.txt
浏览 5
提问于2022-04-09
得票数 -1
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
即时通信 IM
活动推荐
运营活动
广告
关闭
领券