![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
qq_32888845
这个作者很懒,什么都没留下…
展开
-
new333
import reimport shutilfrom pathlib import Pathimport pandas as pdimport sysimport osdef clean(paths): return_data = [] with open(paths,"r") as f: text = f.read() lists = [] strs = [] count = 0 for i in text.split("\.原创 2022-01-14 16:53:49 · 55 阅读 · 0 评论 -
大数据扔出错误文件
import reimport shutilfrom pathlib import Pathimport pandas as pdimport sysimport osdef clean(paths): return_data = [] with open(paths,"r") as f: text = f.read() lists = [] strs = [] count = 0 for i in text.split("\.原创 2022-01-14 09:29:24 · 57 阅读 · 0 评论 -
大数据处理
import reimport pandas as pdimport sysimport osdef clean(paths): return_data = [] with open(paths,"r") as f: text = f.read() lists = [] strs = [] count = 0 for i in text.split("\n"): # print(i) if "Data.原创 2022-01-11 19:36:40 · 60 阅读 · 0 评论