摘要:
集合运算练习 union(), intersection(),subtract(), cartesian() 三、学生课程分数 网盘下载sc.txt文件,通过RDD操作实现以下数据分析: 持久化 scm.cache() 总共有多少学生?map(), distinct(), count() 开设了多少 阅读全文
posted @ 2022-04-06 19:35
孜然猪扒
阅读(53)
评论(0)
推荐(1)
摘要:
一、词频统计 A. 分步骤实现 准备文件 下载小说或长篇新闻稿 上传到hdfs上 读文件创建RDD 分词 排除大小写lower(),map()标点符号re.split(pattern,str),flatMap(), 停用词,可网盘下载stopwords.txt,filter(),长度小于2的词fil 阅读全文
posted @ 2022-04-06 14:03
孜然猪扒
阅读(35)
评论(0)
推荐(0)
浙公网安备 33010602011771号