Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started