![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
numpy 与 pandas
文章平均质量分 82
Captain_Data
有问题可以私信交流呀~csdn当笔记用~
展开
-
No.0.0.2 numpy全总结
import numpy as np arr=np.array([1,2,3,4,5]) arr array([1, 2, 3, 4, 5]) arr=np.array(['a','b',3,4,5]) arr array(['a', 'b', '3', '4', '5'], dtype='<U1') list_1=[i for i in range(100)] np.array(list_1) array([ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9,原创 2021-11-30 00:07:35 · 1768 阅读 · 0 评论 -
No.0.0.1 基础 数据函数与numpy初识与pandas 全总结
lambda 映射函数map() - x代表后面列表中每一个数,x+2表示将每一个x加2 list1=map(lambda x:x+2,[1,2,3,4,5,6,7,8,10,12])#加2 list(list1) filter 过滤函数 筛选出x%2==0的数 reduce 累计算数 from functool import reduce ...原创 2020-01-14 16:44:12 · 419 阅读 · 0 评论