Numpy 2d array slice column. shape[0] #image row size n = a.