Answers for "numpy return column of 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
0

access to specific column array numpy

second_and_third_column = an_array[:, 1:3]
Posted by: Guest on December-29-2020

Code answers related to "numpy return column of array"

Python Answers by Framework

Browse Popular Code Answers by Language