我有一个 40000 x 60 的 Numpy 数组,我想这样:
mat[:,[0:13,19:23,23:31,39:59]]
显然,它不起作用。有没有比串联更聪明的方法来做到这一点?
python indexing numpy
indexing ×1
numpy ×1
python ×1