原文:pyspark AttributeError: 'NoneType' object has no attribute 'setCallSite'

pyspark: AttributeError: NoneType object has no attribute setCallSite 我草,是pyspark的bug。解決方法: Description reproducing the bug from the example in the documentation: import pyspark from pyspark.ml.linal ...

2019-06-04 21:15 0 1702 推薦指數:

查看詳情

AttributeError: 'NoneType' object has no attribute 'find'

遇到這個問題是因為讀取excel表格的數據時默認是str類型,但是excel有空行時,類型讀取為NoneType,如果把類型轉換為str或者把excel里的空行刪掉就不會有這個問題 ...

Thu Dec 26 19:37:00 CST 2019 2 11518
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM