NumPy - Array Operations
Which of the following is the correct syntax to subtract array
b from array a element-wise in numpy?b from array a element-wise in numpy?a - b and np.subtract(a, b) perform element-wise subtraction.a.subtract(b) is invalid15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions