Question 1

Which parameter of the np.sort() function allows you to specify a sorting algorithm?

Question 2

How can you sort the rows of a 2D numpy array in descending order based on the sum of each row?

Question 3

What is the difference between np.sort() and arr.sort()?

Question 4

What is the default sorting order in numpy's sort function?

Question 5

How can you sort the elements of a 2D numpy array based on the values in the second column?

Question 6

What is the time complexity of numpy's sorting algorithm for a 1D array?

Question 7

How can you sort the columns of a 2D numpy array in descending order?

Question 8

How can you sort the elements of a 1D numpy array in ascending order?

Question 9

What does the np.argsort() function return?

Question 10

Which numpy function can be used to sort the elements of an ndarray along a specific axis?