腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
“
NoneType
”
对象
没有
“”
drop
“”
属性
“”
python
、
pandas
、
dataframe
、
dataset
、
nonetype
代码如下: df = df.
drop
( axis ='columns',) df.head() 它显示
NoneType
错误
drop
和head。
浏览 60
提问于2021-11-18
得票数 1
1
回答
AttributeError:'
NoneType
‘
对象
没有
属性
'
drop
’
python
、
database
、
dataframe
、
csv
、
drop
drop
_cols = ['ISO3A código economía declarante', 'Código metadatosdel valor', 'Valor (no numérico)'] -Traceback (most recen
浏览 7
提问于2020-11-21
得票数 0
2
回答
列中的“
NoneType
”
对象
python
、
pandas
free.index = free[1]下一步,我想删除column1freeAttributeErrorTraceback (most recent call last)----> 1 free = free.
drop
(1, axis=1, inplace=True)AttributeError:
浏览 13
提问于2020-05-18
得票数 0
回答已采纳
1
回答
TypeError:'
NoneType
‘不可迭代
python
、
pandas
我想在
没有
目标的情况下创建一个浮点特性的数据格式,这样我就可以对它们进行进一步的操作。我试过:...which返回: TypeError:
浏览 1
提问于2019-03-17
得票数 0
回答已采纳
3
回答
无法删除列,
对象
没有
属性
错误
python
、
python-3.x
、
pandas
当我尝试删除钠柱时,我不明白为什么我得到一个
NoneType
‘
对象
没有
属性
'
drop
’错误df.
drop
(['sodium'],axis=1) df = df.
drop
(['sodium'], 1, inplace=True)
浏览 7
提问于2018-06-20
得票数 4
1
回答
OpenCV '
NoneType
‘
对象
没有
属性
’
NoneType
‘
python
、
numpy
、
opencv
我正在努力使其工作: (滚动到“使用ORB的
对象
检测”部分)import cv2 ` 由于某些原因,我在‘高度,宽度= frame.shape:2’的第41行上得到了一个错误,我无法让它工作(错误是标题),我尝试了修复图像路径,但这
没有
起作用
浏览 9
提问于2022-11-06
得票数 -2
2
回答
NoneType
:“AttributeError”
对象
没有
属性
“
NoneType
”
python
、
discord.py
并得到以下错误(条带:'
NoneType
‘
对象
没有
’AttributeError‘
属性
)。这是我的代码。
浏览 30
提问于2021-04-15
得票数 1
2
回答
如何根据列值的条件删除DataFrame中的行
python
、
pandas
、
dataframe
= 'new_page')].indexdf2.head() 但是我得到了一个错误: AttributeError:'
NoneType
‘
对象
没有
属性
'head’
浏览 3
提问于2021-01-17
得票数 0
回答已采纳
1
回答
AttributeError:'
NoneType
‘
对象
没有
属性
’
NoneType
‘
python
、
apache-spark
、
pyspark
、
user-defined-functions
、
nonetype
capital_names",udf_capital("names")) 在运行代码时,当我试图显示结果的dataframe时,会得到一个错误: AttributeError: '
NoneType
浏览 4
提问于2021-01-05
得票数 3
回答已采纳
2
回答
AttributeError:在合并两个函数时,'
NoneType
‘
对象
没有
属性
'
drop
’
python
、
pandas
、
dataframe
、
scikit-learn
、
prediction
= ['testId', 'studentId']X = df.
drop
('result', axis=1)df.
drop
(cols_to_
drop
, axis=1, inplace=True) y = new_df['res
浏览 2
提问于2021-11-25
得票数 0
回答已采纳
1
回答
在熊猫data.frame行重命名和删除列时出错
python
、
pandas
当我试图重命名和删除来自熊猫data.frame的专栏时,我在说>AttributeError: '
NoneType
' object has no attribute '
drop
'时遇到了一个错误。熊猫df.rename.
drop
.groupby.reset_index订单总是让我感到困惑。当我想重塑熊猫df的时候,我应该遵循什么正确的语法?1 weak 4 9 14 4 2 2 0 strong 5 10 15
浏览 2
提问于2020-01-19
得票数 1
回答已采纳
1
回答
NoneType
对象
没有
属性
python
、
function
、
class
、
attributes
、
bank
Account1.comp_int(2) Account1.add_2_bank(X) X.show_high() 我得到的错误是我的'Bank‘
对象
(X)
没有
属性
acc_list()。谁来帮帮我。
浏览 14
提问于2019-12-27
得票数 0
2
回答
AttributeError:'
NoneType
‘
对象
没有
属性
'strftime'AttributeError:'
NoneType
’
对象
没有
属性
'strftime‘
pandas
、
pywhois
我得到了"AttributeError:'
NoneType
‘
对象
没有
属性
'strftime'AttributeError:'
NoneType
’
对象
没有
属性
'strftime'“的错误。resp[key] = resp[key].strftime(self.datetime_format) AttributeError:
浏览 26
提问于2022-07-16
得票数 0
1
回答
如何解决调用防火墙客户端时的grpc错误
python
、
google-app-engine
、
google-cloud-firestore
、
fastapi
AttributeError: '
NoneType
' object has no attribute 'from_call' at .
浏览 13
提问于2022-08-24
得票数 0
1
回答
'
NoneType
‘
对象
没有
属性
’适配器‘,'
NoneType
’
对象
没有
属性
'text‘
python
、
kivy
错误#1:“
NoneType
”
对象
没有
属性
“text”我已经试着调试了几个小时 单击“添加”按钮时,会得到错误#1。
浏览 1
提问于2017-03-05
得票数 0
1
回答
Django & Djoser '
NoneType
‘
对象
没有
属性
'lower’'
NoneType
‘
对象
没有
属性
'lower’
python
、
django
、
djoser
value_part.lower()).quick_ratio() >= self.max_similarity: 异常类型: AttributeError at /api/v1/user/me/ Exception值:'
NoneType
‘
对象
没有
属性
'lower'
浏览 11
提问于2022-01-05
得票数 0
1
回答
程序显示'
NoneType
‘
对象
没有
’
NoneType
‘
属性
keras
、
deep-learning
、
question-answering
, sent) if x.strip()] AttributeError: '
NoneType
' object has no attribute 'strip'
浏览 21
提问于2019-05-09
得票数 0
2
回答
如何使用Pandas删除特定行/更改列类型
python
、
pandas
我还检查了列的类型,它不是float/int,而是
对象
类型。是删除带有“-”的行,还是只将列/列的类型更改为int?我的最终目标是按该列对行进行排序。convert_dict) 然后,我尝试使用以下代码删除值为“-”的行:
浏览 4
提问于2020-07-10
得票数 1
回答已采纳
1
回答
Pandas
drop
重复返回“”None“”值,并且“”
NoneType
“”
对象
没有
属性
“”function“”错误
python
、
python-3.x
、
pandas
当我试图删除重复的行时,我得到了一个错误“‘
NoneType
’
对象
没有
属性
‘函数’。= df42.combine_first(df41).reset_index().reindex(readfile41.columns, writefdf40 = fdf41.to_excel("Trackers\TEST Tracker.xlsx", "E
浏览 1
提问于2020-05-28
得票数 0
2
回答
属性
错误,“
NoneType
”
对象
没有
属性
python
recent call last): offset = m.end() AttributeError: '
NoneType
那么为什么我总是得到一个
属性
错误呢?
浏览 3
提问于2016-03-27
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
【python进阶】-dict和object
Greenplum数据库使用总结-权限说明
Greenplum权限管理
第十三讲——类、对象、对象的属性,方法
Python学习(八)-面向对象类之进阶
热门
标签
更多标签
活动推荐
运营活动
广告
关闭
领券