Answers for "extract column 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
2

numpy how to slice individual columns

X = data[:, [1, 9]]
Posted by: Guest on October-11-2020
0

how to extract column from numpy array

print(a2[:,[2]])
Posted by: Guest on May-10-2021

Python Answers by Framework

Browse Popular Code Answers by Language