Python Programming - Arrays - Discussion

Discussion Forum : Arrays - General Questions (Q.No. 27)
27.
How do you perform element-wise multiplication of two NumPy arrays, arr1 and arr2?
np.multiply(arr1, arr2)
arr1 * arr2
arr1.mul(arr2)
np.product(arr1, arr2)
Answer: Option
Explanation:
The * operator can be used for element-wise multiplication of two NumPy arrays.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.