Answers for "how to choose particular columns in np.array"

1

extract column numpy array python

# Extract/ Slice only the 3rd column from the numpy array
print(a2[:,[2]])
Posted by: Guest on October-16-2020

Python Answers by Framework

Browse Popular Code Answers by Language