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