Question: 6. What represents the missing value in NumPy? Group of answer choices np.missing missing np.nan np.inf 7. How would you sort ndarray x in the

6. What represents the missing value in NumPy?

Group of answer choices

  • np.missing
  • missing
  • np.nan
  • np.inf

7. How would you sort ndarray x in the ascending order in place?

Group of answer choices

  • np.lexsort(x)
  • x.argsort()
  • x.sort()
  • np.sort(x)

8. What is the output for:

x = np.arange(6).reshape(2,3) x

Group of answer choices

  • array([[6, 6, 6],[6, 6, 6]])
  • array([2, 3])
  • array([6, 2, 3])
  • array([[0, 1, 2],[3, 4, 5]])

9. How would you find the eigenvector and eigenvalues of x?

Group of answer choices

  • numpy.linalg.inv(x)
  • numpy.linalg.dot(x)
  • numpy.linalg.svd(x)
  • numpy.linalg.eig(x)

10. What is the output?

x = np.arange(9).reshape(3,3) x[[1,2], [0, 2]]

Group of answer choices

  • array([3, 8])
  • array([[3, 5],[6, 8]])
  • array([[3, 4, 5],[6, 7, 8]])
  • No answer text provided.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!