1,numpy处理多维数组
a = np.random.randint(0,20,(5,6))
#处理连续时,不加方括号
print(a[1:3,0:2)
#处理离散时,加方括号
print(a[[0,1],[2,3]]