Python Programming - Arrays - Discussion
Discussion Forum : Arrays - General Questions (Q.No. 54)
54.
Given a NumPy array
arr = np.array([3, 1, 4, 1, 5, 9])
, what does np.sort(arr)
return?
Answer: Option
Explanation:
The
np.sort()
function returns a sorted version of the array.
Discussion:
Be the first person to comment on this question !
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers