![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
文章平均质量分 79
PuJiang-
憨人。 --2021.8.11
展开
-
Python英文分词_词频统计_按词频排序
文本cet6read.txt QuestionS 61 to 65 are based on the following passage. Many bankers may be worried about whether some fancy product dreamed up might yetlead to a visit from the police. Daniel Dantas, a financier, who has profited by operating at themiddle原创 2022-04-21 17:10:42 · 1095 阅读 · 0 评论 -
Python数据处理_pandas读取csv文件_numpy进行归一化处理
请执行以下命令下载样本数据 数据为CSV表格有8列,其中abstime列为时间列,其余列为特征列 !wget http://82.156.209.173/s/dHCnaH32rtZdxcs/download !mv download sample_data_A100159.csv 1. 对给出的样本文件中的所有特征列做normalization,映射至(0-255)的区间,从abstime的第一行开始每隔200条取一次整行数据,并将最终取出的数据并以PNG格式的图片输出。 提示:输出图片用PIL库 可参原创 2022-04-21 15:32:38 · 3944 阅读 · 5 评论 -
Python内置数据结构_元组、列表、字典_基本操作
一、Python元组 Python 的元组与列表类似,不同之处在于元组的元素不能修改。 元组使用小括号,列表使用中括号 元组不允许修改元素值,只能进行多个元组的连接组合,这样生成的是一个全新的元组 元组不允许删除元素值,只能删除整个元组 元组进行的都是整体级别的操作,内部细粒度的元素不能更改,首次创建好之后进行的都是元组整体的操作了。 1.1元组创建 tup1 = ('physics', 'chemistry', 1997, 2000) tup2 = (1, 2, 3, 4, 5 ) tup3 = "a原创 2022-04-21 14:48:56 · 650 阅读 · 0 评论