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.
【Java8新特性_尚硅谷】P1_P5
2.
SpringSecurity 基礎應用
3.
SlowFast Networks for Video Recognition
4.
074-enable-right-click
5.
WindowFocusListener窗體焦點監聽器
6.
DNS部署(二)DNS的解析(正向、反向、雙向、郵件解析及域名轉換)
7.
Java基礎(十九)集合(1)集合中主要接口和實現類
8.
瀏覽器工作原理學習筆記
9.
chrome瀏覽器構架學習筆記
10.
eclipse引用sun.misc開頭的類
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
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'
>>更多相關文章<<