Answers for "how to extract a column of matrix into 1d array numpy"

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

Code answers related to "how to extract a column of matrix into 1d array numpy"

Python Answers by Framework

Browse Popular Code Answers by Language