Ekstrak kolom numpy array python
# Extract/ Slice only the 3rd column from the numpy array
print(a2[:,[2]])
JosieBear
# Extract/ Slice only the 3rd column from the numpy array
print(a2[:,[2]])
X = data[:, [1, 9]]
X = data[:, [1, 9]]
X