Pyspark實戰(二)wordcount詞頻統計

E盤根目錄建立test.txt輸入測試內容以下:python this is a test this very good you is very good what are you 完整代碼以下:測試 from pyspark import SparkContext,SparkConf def wordcount():     txtfile=r'E:\test.txt'   
相關文章
相關標籤/搜索