JavaShuo
栏目
标签
JupyterNotebook运行Pyspark出现异常:´PipelinedRDD´ object has no attribute ´toDF´
时间 2021-01-22
标签
spark
栏目
Spark
繁體版
原文
原文链接
问题描述 我在使用jupyter notebook连接pyspark进行pyspark操作,在使用’toDF‘函数将rdd转换为DataFrame出现‘PipelinedRDD' object has no attribute 'toDF'的异常。但是奇怪的一点是,我用pyspark启动spark shell直接进行操作时,’toDF‘函数是可以正常使用的。 jupyter notebook运行异
>>阅读原文<<
相关文章
1.
pyspark AttributeError: 'NoneType' object has no attribute 'setCallSite'
2.
AttributeError: 'DataFrame' object has no attribute 'map'
3.
运行报错:'_TestResult' object has no attribute 'outputBuffer'
4.
reader.ptb_raw_data 出现 "AttributeError: 'str' object has no attribute 'decode
5.
AttributeError: ‘CeleryCommand‘ object has no attribute ‘preload_options‘
6.
AttributeError: 'dict' object has no attribute 'has_key'
7.
AttributeError: 'NoneType' object has no attribute 'split'
8.
AttributeError: 'unicode' object has no attribute 'xpath'
9.
AttributeError: 'Model' object has no attribute 'name'
10.
AttributeError: 'module' object has no attribute 'App'
更多相关文章...
•
PHP 7 异常
-
PHP 7 新特性
•
Scala 异常处理
-
Scala教程
•
☆基于Java Instrument的Agent实现
•
常用的分布式事务解决方案
相关标签/搜索
todf
attribute
jupyternotebook
pyspark
异常
object...object
object
常见异常
运行
现出
Spark
PHP 7 新特性
PHP教程
NoSQL教程
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
说说Python中的垃圾回收机制?
2.
蚂蚁金服面试分享,阿里的offer真的不难,3位朋友全部offer
3.
Spring Boot (三十一)——自定义欢迎页及favicon
4.
Spring Boot核心架构
5.
IDEA创建maven web工程
6.
在IDEA中利用maven创建java项目和web项目
7.
myeclipse新导入项目基本配置
8.
zkdash的安装和配置
9.
什么情况下会导致Python内存溢出?要如何处理?
10.
CentoOS7下vim输入中文
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
pyspark AttributeError: 'NoneType' object has no attribute 'setCallSite'
2.
AttributeError: 'DataFrame' object has no attribute 'map'
3.
运行报错:'_TestResult' object has no attribute 'outputBuffer'
4.
reader.ptb_raw_data 出现 "AttributeError: 'str' object has no attribute 'decode
5.
AttributeError: ‘CeleryCommand‘ object has no attribute ‘preload_options‘
6.
AttributeError: 'dict' object has no attribute 'has_key'
7.
AttributeError: 'NoneType' object has no attribute 'split'
8.
AttributeError: 'unicode' object has no attribute 'xpath'
9.
AttributeError: 'Model' object has no attribute 'name'
10.
AttributeError: 'module' object has no attribute 'App'
>>更多相关文章<<