
Data Science and Machine Learning (Theory and Projects) A to Z - NumPy for Numerical Data Processing: Slicing-Part 2
Interactive Video
•
Information Technology (IT), Architecture, Mathematics
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function can be used to find the index of an element in an array?
np.locate
np.search
np.find
np.where
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you scale and round the values of a 2D array generated with random values between 0 and 1?
Multiply by 10 and use np.round
Add 10 and use np.ceil
Multiply by 100 and use np.floor
Divide by 10 and use np.round
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the index of the second row and third column in a 2D array?
(2, 3)
(1, 2)
(0, 1)
(3, 2)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to transpose a matrix in Numpy?
np.reverse
np.flip
np.swap
np.transpose
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the LA.inverse function in Numpy do?
Finds the inverse of a matrix
Computes the eigenvalues of a matrix
Performs matrix multiplication
Calculates the determinant of a matrix
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you sort each column of a 2D array individually?
Use sort with axis=1
Use sort with axis=0
Use sort with axis=2
Use sort with axis=-1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the next topic to be covered after sorting arrays?
Matrix multiplication
Statistical analysis
Fancy indexing or masking
Data visualization
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?