Python Programming - Arrays - Discussion

Discussion Forum : Arrays - General Questions (Q.No. 96)
96.
How can you calculate the element-wise square root of a NumPy array arr?
np.sqrt(arr)
arr ** 0.5
np.square_root(arr)
np.power(arr, 0.5)
Answer: Option
Explanation:
The np.sqrt() function calculates the element-wise square root of the array.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.