how to choose particular columns in np.array code example
Example: extract column numpy array python
# Extract/ Slice only the 3rd column from the numpy array
print(a2[:,[2]])
# Extract/ Slice only the 3rd column from the numpy array
print(a2[:,[2]])