摘要: 相关学习资料 : numpy中文网https://www.numpy.org.cn/1 numpy索引区间为左闭右开,第一个索引能取到,第二个索引取不到索引内可加步长如import numpy as np a=np.arange(10)print(a,a[:3],a[::3])结果为[0 1 2 3 4 5 6 7 8 9] [0 1 2] [0 3 6 9]2使用 ones zeros... 阅读全文
posted @ 2019-11-21 17:43 雪夜羽 阅读(228) 评论(0) 推荐(0) 编辑