Question 1: Short answer
mediumAI-checkedNumPyWhat is neg.shape?
a = np.array([[1, -2], [-3, 4]])
neg = a[a < 0]1 question from NumPy
1 question · 1 min · score and explanations at the end
What is neg.shape?
a = np.array([[1, -2], [-3, 4]])
neg = a[a < 0]