腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(9999+)
视频
沙龙
1
回答
“
DataFrame
”
对象
没有
属性
“
split_frame
”
无法使用
split_frame
()拆分帧。
dataframe
可以显示(),但我不能拆分它。请帮帮忙。 下面是我使用的代码示例。File "/opt/cloudera/parcels/SPARK2-2.3.0.cloudera2-1.cdh5.13.3.p0.316101/lib/spark2/python/pyspark/sql/
dataframe
.py__name__, name)) AttributeError: '<
浏览 154
提问于2019-06-11
得票数 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
‘
对象
没有
属性
'plt’
、
、
__getattribute__(self, name) 我怎样才能纠正这个错误?
浏览 18
提问于2022-11-26
得票数 0
1
回答
'
DataFrame
‘
对象
没有
属性
'Book’
、
、
import pandas as pdExpenses = data[data.Book == 'Expenses'] AttributeError:'
DataFrame
‘
对象
没有
属性
'Book'
浏览 4
提问于2019-10-07
得票数 0
回答已采纳
1
回答
“
DataFrame
”
对象
没有
属性
“url”
、
DataFrame
‘
对象
没有
’url‘
属性
“ import requestsfrom bs4 import BeautifulSoup import
浏览 16
提问于2021-09-13
得票数 0
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
‘
对象
没有
属性
’标签‘
、
、
我试着设计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
1
回答
“
DataFrame
”
对象
没有
属性
“str”
、
、
、
我正在尝试根据";“将一个
Dataframe
分成两列。当我导入它时,我得到了一个(555,1)
DataFrame
。pd.read_csv(Filename['px'], header=None)但是我有以下错误:"
DataFrame
‘
对象
没有
属性
'str'“你能帮我创建两列吗?
浏览 3
提问于2021-09-27
得票数 0
1
回答
AttributeError:'
DataFrame
‘
对象
没有
属性
、
、
我试图在
dataframe
列中存储值:并得到一个错误:MacOS M1,Pandas 1.4.2,P
浏览 8
提问于2022-06-19
得票数 0
1
回答
'
DataFrame
‘
对象
没有
属性
’刷新‘
、
我正试图解决波士顿房价预测问题,但它有一个错误Cell In [53]avge = training.max(axis=0), training.min(axis=0), training.sum(axis=0) / training.shape[0]“刷新”这个词
没有
出现在我的代码中,也
没有
出现在我的数据中,有人能给我一些想法吗?
浏览 9
提问于2022-11-22
得票数 0
2
回答
'
DataFrame
‘
对象
没有
属性
'map’
、
、
:%S"))但是,我一直收到错误:我搞不懂这是为什么。下面的
dataframe
如下所示: Date ID Element Data_Valu
浏览 2
提问于2020-05-31
得票数 0
回答已采纳
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元无门槛券
手把手带您无忧上云
相关
资讯
Pandas:Series和DataFrame数据选择方法
python起步学习(三)
pandas做数据分析(一):基本数据对象
Python笔记:Pandas数据处理
数据分析工具Pandas的数据结构学习
热门
标签
更多标签
云服务器
ICP备案
实时音视频
对象存储
即时通信 IM
活动推荐
运营活动
广告
关闭
领券