Python Programming - Arrays - Discussion

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

Post your comments here:

Your comments will be displayed after verification.