extracting rows and columns from numpy arrays code example Example: how to extract column from numpy array print(a2[:,[2]])