Numpy Delete for 2-dimensional array

后端 未结 0 717
你的背包
你的背包 2021-01-26 00:03

I have an ndarray of shape (10, 3) and an index list of length 10:

import numpy as np
arr = np.arange(10* 3).reshape((10, 3))
idxs = np.array([0, 1, 1, 1, 2, 0, 2         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题