会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
红豆生南国 是很遥远的事情
种豆南山下 github
博客园
首页
新随笔
联系
订阅
管理
2018年11月30日
第1篇 numpy 语法
摘要: import numpy as np A = np.array([ [1, 2, 3, 4], [5, 6, 7, 8], ], dtype=int) # dtype指定数据类型int float print(A) print(A.size) # 元素的总个数 print(A.ndim) # 维度 print(A.shape) # 形状 (2, 4) 小元组 两行四列 ...
阅读全文
posted @ 2018-11-30 17:38 jack-chen666
阅读(146)
评论(0)
推荐(0)
编辑
公告