![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
学习笔记
zhz199879
这个作者很懒,什么都没留下…
展开
-
python之Numpy学习笔记
1.导入numpy库import numpy as np2.生成数组重要函数作用示例np.array( x)将输入数据转化为一个ndarraya_list=list(range(10))b=np.array(a_list)np.array( x, dtype)将输入数据转化为一个类型为type的ndarrayb=np.array(a_list)np.ones( N )np.ones( N, dty...原创 2018-04-09 20:11:02 · 204 阅读 · 0 评论 -
python基础知识总结
1.python变量 1.1特点: 无需事先声明变量名及类型,直接赋值即可创建各种类型的变量。 python变量的类型可以随时变化。 python采用基于值得内存管理方式,如果为不同变量赋值为相同值,这个值在内存中只有一份,多个变量指向同一块内存地址。 1.2变量名 变量名必须以字母或下划线开头...转载 2018-06-14 11:28:12 · 1791 阅读 · 0 评论