https://blog.csdn.net/weixin_32572129/article/details/112536413 https://blog.csdn.net/qq_33431368/article/details/84777906 https://www.cnblogs.com/For ...
分类:
编程语言 时间:
2021-04-20 14:30:22
阅读次数:
0
一、词频统计: 读文本文件生成RDD lines lines=sc.textFile("file:///usr/local/spark/mycode/rdd/word.txt") lines.foreach(print) 将一行一行的文本分割成单词 words flatmap() words=lin ...
分类:
其他好文 时间:
2021-04-20 14:04:55
阅读次数:
0
画个爱心向你表白 直接运用爱心的表达式 expression = ((x*0.05)**2+(y*0.1)**2-1)**3-(x*0.05)**2*(y*0.1)**3 知识点 input()方法:用来和用户交互,输入 input('Enter an English word:') str.spl ...
分类:
其他好文 时间:
2021-04-19 15:24:33
阅读次数:
0
import xlwt my_workbook = xlwt.Workbook(encoding='utf-8') my_sheet1 = my_workbook.add_sheet('sheet1') for i in range(0, 9): # i:行号 for j in range(0, i ...
分类:
编程语言 时间:
2021-04-19 15:12:06
阅读次数:
0
export_excel(){ this.axios.get('downExcelView/',{responseType:'blob'}).then(res=>{ var blob = new Blob([res.data], {type: 'application/vnd.openxmlform ...
分类:
其他好文 时间:
2021-04-19 15:08:07
阅读次数:
0
word转pdf 在不能使用office组件(要收费)的情况下: framework OfficeDev/Open-Xml-PowerTools net core 1.4 版本以上 EricWhiteDev/Open-Xml-PowerTools 一个第三方包(改进) sergey-tihon/Cl ...
分类:
其他好文 时间:
2021-04-19 14:59:41
阅读次数:
0
grep grep 'word' filename.txt grep在进行搜索时,以行为单位进行处理 grep -n 代表显示行号 grep -v 代表反选择 grep -i 忽略大小写 grep 't[ea]st' 搜索test或tast grep '^goo' 搜索以goo开头的行 grep ' ...
分类:
其他好文 时间:
2021-04-19 14:54:38
阅读次数:
0
C#中对xml数据的读取和写入: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Xml.Linq; using System.Xml; using ...
首先利用快捷键win+r打开运行窗口,输入cmd,回车 1、在命令窗口中输入: netstat -an 可以查看当前所有已被占用的端口号 本地地址(Local Addresss)对应的这列,“:”后边即为以开放的端口号。 2、如果需要指定端口号查看,可以输入: netstat -ano|find " ...
分类:
其他好文 时间:
2021-04-16 12:26:12
阅读次数:
0
设置仓库 更新 apt 包索引。 $ sudo apt-get update 安装 apt 依赖包,用于通过HTTPS来获取仓库: $ sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ gnupg-agent ...
分类:
系统相关 时间:
2021-04-16 11:59:52
阅读次数:
0