A

Admin • 832.27K Points
Coach

Q. Which function sorts a NumPy array?

  • (A) np.arrange()
  • (B) np.order()
  • (C) np.sort()
  • (D) np.sorted()
  • Correct Answer - Option(C)
  • Views: 15
  • Filed under category Numpy
  • Hashtags:

Explanation by: Admin

np.sort() returns a sorted copy of the array.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.