Question 7
X = np.array([
[10,20,30],
[40,50,60],
[70,80,90]])
Answer:
print(X)
array([20, 50, 50])
X = np.array([ [10,20,30], [40,50,60], [70,80,90]]) list1 = [] for i in X: list1.append(i[1]) np.array(list1) array([20, 50, 80])
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment