我有一个numpy数组,我想要检索除某个索引之外的所有元素.例如,请考虑以下数组
a = [0,1,2,3,4,5,5,6,7,8,9]
如果我指定索引3,那么结果应该是
a = [0,1,2,4,5,5,6,7,8,9]
python numpy
numpy ×1
python ×1