11 2021 档案

摘要:1、Numpy NumPy(Numerical Python) 是 Python 语言的一个扩展程序库,支持大量的维度数组与矩阵运算,此外也针对数组运算提供大量的数学函数库。 NumPy 是一个运行速度非常快的数学库,主要用于数组计算,包含: 一个强大的N维数组对象 ndarray。 广播功能函数。 阅读全文
posted @ 2021-11-14 11:46 又双叒叕萤 阅读(49) 评论(0) 推荐(0)
摘要:import jiebaf=open("红楼梦.txt","r",encoding="utf-8")txt=f.read()f.close()words=jieba.lcut(txt)counts={}for word in words: if len(word)==1: continue else 阅读全文
posted @ 2021-11-14 01:12 又双叒叕萤 阅读(72) 评论(0) 推荐(0)