Indexing numpy array with list gives unexpected shape

后端 未结 0 1603
广开言路
广开言路 2020-11-27 05:12

If I create an array

arr = np.ones((10,5,5,100))

and try to get the data for axis 0 index 1, axis 1 all, axis 2 all, axis 3 indices 2,5,10

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