x=np.insert(x,i,[a,b])表示在ndarray x的第i个位置插入[a,b]
如何向ndarray数组指定位置插入元素
最新推荐文章于 2024-07-21 03:45:22 发布
x=np.insert(x,i,[a,b])表示在ndarray x的第i个位置插入[a,b]