摘要:
在使用NumPy数组时,有一个要注意的地方:在取数组的切片时,取出来的切片(Slices)仅仅是原始数组的视图(Views),而非它的复制!这与Python的built-in的list不同。 arr = np.arange(10) arr 输出:array([0, 1, 2, 3, 4, 5, 6, 阅读全文
posted @ 2021-03-26 16:14
分析101
阅读(337)
评论(0)
推荐(0)
浙公网安备 33010602011771号