牛客251960512号
牛客251960512号
全部文章
分类
markdown(1)
MySQL(15)
numpy(3)
Obsidian(6)
pandas(6)
PPT(1)
Pyhon面向对象(1)
Python基础语法(60)
Python数据分析与展示(11)
python自动化(2)
Tableau(17)
可视化(3)
未归档(1)
百度(1)
系统(1)
系统问题(1)
题解(40)
归档
标签
去牛客网
登录
/
注册
心际花园
编程就像一个迷宫,有无穷无尽的歧路,在其中的体验是有趣的。
全部文章
(共163篇)
python统计《论语》里的词频
利用jieba库统计《论语》里的词频 #CalLunyuV1.py import jieba txt = open("lunyu.txt", "r", encoding = "utf-8").read() words = jieba.l...
2021-10-25
0
547
python3分析《全唐诗》词频
利用python3和jieba库分析全唐诗 #CalQuantangshiV1.py import jieba def getText(): txt = open("quantangshi.txt", "r", encoding = "u...
2021-10-25
0
755
python3分析《西游记》词频
#CalXiyoujiV1.py import jieba txt = open("xiyouji.txt", "r", encoding = "utf-8").read() words = jieba.lcut(txt) counts =...
2021-10-25
0
414
python3分析《三国演义》出场人物频次
利用jieba库分析《三国演义》人物频次。 #CalThreeKingdomsV2.py import jieba txt = open("threekingdoms.txt", "r", encoding = "utf-8").rea...
2021-10-25
0
501
python3分析《论文》人物出现频次
#CalLunyuV2.py import jieba txt = open("lunyu.txt", "r", encoding = "utf-8").read() excloudes = { "君子",&qu...
2021-10-25
0
298
python3分析《全唐诗》写诗最勤奋的10名诗人
利用jieba库统计《全唐诗》中写诗最勤奋的10位诗人。 #CalQuantangshiV2.py import jieba def getText(): txt = open("quantangshi.txt", "r", encoding = ...
2021-10-25
0
529
python3使用wordcloud出现AttributeError: partially initialized module ‘numpy‘ has no attribute ‘array‘ (m
Traceback (most recent call last): File "GovRpWordCloudv1.py", line 3, in <module> import wordcloud File "C:\Users\23645\...
2021-10-25
0
1223
python3形成论语词云
#CloudLunYuv1.py import jieba import wordcloud from imageio import imread mask = imread("kongzi.png") f = open("lunyu.txt", &quo...
2021-10-25
0
266
python3形成《三国演义》词云
利用jieba库和imaeio库生成《三国演义》词云 #CloudSanGuo.py import jieba import wordcloud from imageio import imread mask = imread("fan.png") f = open(&qu...
2021-10-25
0
737
绘制带小数点的七段数码管时间
# singleDigitalCubv2.py import turtle,time def drawGap(): # 绘制数码管间隔 turtle.penup() turtle.fd(5) def drawLine(draw): #绘制单段数码管 drawGap...
2021-10-25
0
685
首页
上一页
1
2
3
4
5
6
7
8
9
10
下一页
末页