numpy extract column from 2d array code example Example: how to extract column from numpy array print(a2[:,[2]])