python
cynthia_file
缓慢而坚定地做自己能做的事
展开
-
ndarray内存篇
转载自:https://www.cnblogs.com/shine-lee/p/12293097.htmlndarray的设计哲学在于数据存储与其解释方式的分离,或者说copy和view的分离,让尽可能多的操作发生在解释方式上(view上),而尽量少地操作实际存储数据的内存区域。如下所示,像reshape操作返回的新对象b,a和b的shape不同,但是两者共享同一个数据block,c=b.T...转载 2020-04-29 15:48:59 · 510 阅读 · 0 评论 -
ndarray属性篇
Attributes属性T:ndarrayThe transposed array.(转置矩阵)dtype:dtype objectData-type of the array’s elements.(元素类型)存布局相关属性:flags:dictInformation about the memory layout of the array.(数组内存布局信息)size:int...原创 2020-04-29 14:22:42 · 269 阅读 · 0 评论 -
python+pyqt5+pycharm
python安装在python官网下载相应版本的python版本安装,我用的是python3.6windows下直接安装,记住安装路径,加入环境变量即可python添加镜像源镜像源:清华:https://pypi.tuna.tsinghua.edu.cn/simple阿里云:http://mirrors.aliyun.com/pypi/simple/中国科技大学:https://p...原创 2019-05-08 11:36:12 · 353 阅读 · 0 评论