腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
“
DataFrame
”
对象
没有
属性
“
url
”
、
DataFrame
‘
对象
没有
’
url
‘
属性
“ import requestsfrom bs4 import BeautifulSoup 'Accept-Language': 'en-US, en;q=0.5'}) # imports a csv file with the
url
浏览 16
提问于2021-09-13
得票数 0
1
回答
:'
DataFrame
‘
对象
没有
属性
、
、
、
我有一个包含各种列的CSV文件,在过去的几个月里,一切都很完美,直到我更新了该文件并获得了新的信息,而现在只有一个列似乎
没有
被Python选中。然后,我确保在每个列中都
没有
空白,在单元格的开头,使用excel中的Trim函数,并对数据进行左对齐。添加"skipinitialspace=True“-
没有
区别。exchange = pd.
DataFrame
(df1.Value) dates
浏览 0
提问于2018-06-09
得票数 0
回答已采纳
2
回答
'
DataFrame
‘
对象
没有
属性
'to_
dataframe
’
= ws.datasets['loanapp_c.csv'] dataset = ds.to_
dataframe
in () 33 ds = pd.read_csv('desktop/python ML/loanapp_c.csv') ---> 34 dataset = ds.to_
dataframe
_getattribute
浏览 0
提问于2019-02-24
得票数 1
回答已采纳
2
回答
'
DataFrame
‘
对象
没有
属性
、
AttributeError:'
DataFrame
‘
对象
没有
属性
'id’ train_df['id'] = train_df.id.apply(lambda x: int(x))new_index, fill_value='missing') AttributeError: '
DataFrame
浏览 2
提问于2019-11-08
得票数 0
回答已采纳
1
回答
AttributeError:
DataFrame
对象
没有
属性
“
DataFrame
”
、
、
、
当我试图将SQL查询的输出转换为jupyter记事本中的
dataframe
时,我会得到以下错误。我已经检查过其他类似主题的帖子,但这是一个不同的错误。有人能解释一下为什么会这样吗。代码:k = %sql select * from table1 错误: AttributeError:'
DataFrame
‘
对象
没有
属性
'
DataFrame
’
浏览 0
提问于2019-03-01
得票数 0
1
回答
Dataframe
AttributeError:“
DataFrame
”
对象
没有
属性
“icol”
、
Attribute error: '
Dataframe
' object has no attribute 'icol' import pandas as pd import numpy
浏览 13
提问于2017-05-05
得票数 1
1
回答
'
DataFrame
‘
对象
没有
属性
'Book’
、
、
import pandas as pdExpenses = data[data.Book == 'Expenses'] AttributeError:'
DataFrame
‘
对象
没有
属性
'Book'
浏览 4
提问于2019-10-07
得票数 0
回答已采纳
1
回答
'
DataFrame
‘
对象
没有
属性
'plt’
、
、
__getattribute__(self, name) 我怎样才能纠正这个错误?
浏览 18
提问于2022-11-26
得票数 0
1
回答
'
DataFrame
‘
对象
没有
属性
'copy’
、
、
我有一个
dataframe
,我想要做一个深刻的副本,以便我可以修改副本,并使用它在进一步的处理。我在Azure数据库工作。我的
dataframe
名为"a“,我尝试了以下命令:当我运行它时,会遇到以下错误:我还尝试使用'iloc‘或'loc’函数来创建一个新的
dataframe
,只包含我需要的列,但是同样的错误('<
浏览 0
提问于2019-07-07
得票数 4
1
回答
“
DataFrame
”
对象
没有
属性
“isna”
、
"g100.py", line 11, in <module>AttributeError: '
DataFrame
浏览 1
提问于2018-04-01
得票数 10
回答已采纳
2
回答
“
DataFrame
”
对象
没有
“sort”
属性
、
、
、
我在这里遇到了一些问题,在我的python包中我已经安装了numpy,但是我仍然有这个错误: 任何人都能给我一些建议..
浏览 58
提问于2017-05-23
得票数 125
回答已采纳
1
回答
AttributeError:'
DataFrame
‘
对象
没有
属性
、
、
我试图在
dataframe
列中存储值:并得到一个错误:MacOS M1,Pandas 1.4.2,P
浏览 8
提问于2022-06-19
得票数 0
1
回答
“
DataFrame
”
对象
没有
属性
“str”
、
、
、
我正在尝试根据";“将一个
Dataframe
分成两列。当我导入它时,我得到了一个(555,1)
DataFrame
。pd.read_csv(Filename['px'], header=None)但是我有以下错误:"
DataFrame
‘
对象
没有
属性
'str'“你能帮我创建两列吗?
浏览 3
提问于2021-09-27
得票数 0
1
回答
'
DataFrame
‘
对象
没有
属性
’标签‘
、
、
我试着设计k-方法,但我得到了一个错误:我找到了,但它并
没有
给出我想要的答案。self, name) 5467 def __setattr__(self, name: str, value) -> None: AttributeError: '
DataFrame
浏览 14
提问于2021-12-06
得票数 -1
5
回答
DataFrame
对象
没有
属性
“col”
在“火花:最终指南”中,它说: df.col("count")df = spark.read.format("json").load(
浏览 2
提问于2018-08-12
得票数 9
2
回答
'
DataFrame
‘
对象
没有
属性
'DatetimeIndex’
、
、
、
OutputDataSet.DatetimeIndex.to_pydatetime()inx=OutputDataSet.DatetimeIndex.to_pydatetime(format =''%y-%m-%d'')'
DataFrame
' object has no attribute 'DatetimeIndex'<class 'pandas.core.frame.
DataFrame</em
浏览 6
提问于2021-02-20
得票数 0
回答已采纳
2
回答
'
DataFrame
‘
对象
没有
属性
'dt’
、
我陷入了这个错误,我想减去两个日期并得到差异,因为我总是收到以下错误。这是数据格式信息
浏览 0
提问于2020-02-06
得票数 1
回答已采纳
1
回答
DataFrame
对象
没有
'sample‘
属性
、
、
Location/output.csv",index_col=None)我得到的错误是: AttributeError: '
DataFrame
' object has
浏览 2
提问于2015-10-21
得票数 7
回答已采纳
2
回答
"
DataFrame
“
对象
没有
”reshape“
属性
、
、
我想在
没有
标题的CSV文件中重塑一些数据,但我一直收到此错误这是我的脚本,我只想重塑第二列的数据
浏览 50
提问于2017-02-15
得票数 13
回答已采纳
1
回答
'
DataFrame
‘
对象
没有
属性
'schema’
low_memory=false, sep="|", error_badlines=False)AttributeError:'
DataFrame
‘
对象
没有
属性
'schema’
浏览 9
提问于2021-12-13
得票数 0
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Femap对象的属性
python面向对象基础2:设置对象属性
JS对象属性排序小技巧
Python对象属性的那些事
Excel VBA(3)–对象、方法、属性
热门
标签
更多标签
云服务器
ICP备案
云直播
对象存储
腾讯会议
活动推荐
运营活动
广告
关闭
领券