Python Programming - Arrays - Discussion

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

Post your comments here:

Your comments will be displayed after verification.