04 2022 档案
摘要:集合运算练习 union(), intersection(),subtract(), cartesian() 内连接与外连接 join(), leftOuterJoin(), rightOuterJoin(), fullOuterJoin() 三、综合练习:学生课程分数 网盘下载sc.txt文件,通
阅读全文
摘要:一、词频统计 A. 分步骤实现 1准备文件 2下载小说或长篇新闻稿 3上传到hdfs上 4读文件创建RDD 分词 排除大小写lower(),map() 标点符号re.split(pattern,str),flatMap(), 停用词,可网盘下载stopwords.txt,filter(), 长度小于
阅读全文