chi_chen

2022年3月7日

2.安装Spark与Python练习

摘要: 一、安装Spark 1、环境配置: 2、启动spark: 3、试运行python代码: 二、Python编程练习:英文文本的词频统计 1、准备文本文件 2、读文件 path='/home/hadoop/wc/f1.txt' with open(path) as f: text=f.read() 3、 阅读全文

posted @ 2022-03-07 14:49 chi_chen 阅读(42) 评论(0) 推荐(0) 编辑