how to slice 2d numpy array coloumn wise code example Example: numpy 2d slicing print(a2[:, 1]) # [2, 5, 8]