标签: python arrays numpy
import numpy as np a = np.arange(0,4) b = a.reshape(2,2) c = b.reshape(2,2,1) c[:][:][0] Out[12]: array([[0], [1]])
为什么c [:] [:] [0]不是[[0,1],[2,3]]吗?