Python Programming - Arrays
Exercise : Arrays - General Questions
- Arrays - General Questions
96.
How can you calculate the element-wise square root of a NumPy array
arr
?
Answer: Option
Explanation:
The
np.sqrt()
function calculates the element-wise square root of the array.
97.
What is the purpose of the NumPy function
numpy.flipud(arr)
?
Answer: Option
Explanation:
The
numpy.flipud()
function flips the array vertically.
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers