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.
windows下配置opencv
2.
HED神經網
3.
win 10+ annaconda+opencv
4.
ORB-SLAM3系列-多地圖管理
5.
opencv報錯——(mtype == CV_8U || mtype == CV_8S)
6.
OpenCV計算機視覺學習(9)——圖像直方圖 & 直方圖均衡化
7.
【超詳細】深度學習原理與算法第1篇---前饋神經網絡,感知機,BP神經網絡
8.
Python數據預處理
9.
ArcGIS網絡概述
10.
數據清洗(三)------檢查數據邏輯錯誤
本站公眾號
歡迎關注本站公眾號,獲取更多信息
相關文章
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'
>>更多相關文章<<