

DAP UNIT 1 FLASHCARD
Flashcard
•
Computers
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

12 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is the syntax to get the variance?
Back
np.var
2.
FLASHCARD QUESTION
Front
What will be the output of the following code:
a=np.array([[8,5,1],[6,2,7]])
print(np.sort(a))
Back
[[1 5 8]
[2 6 7]]
3.
FLASHCARD QUESTION
Front
What will be the output of the code:
arr = np.array([[20,25,30,35], [40,50,60,70], [45,48,51,54]])
arr.flatten()
Back
plt.hist
4.
FLASHCARD QUESTION
Front
head() can be used to
Back
display the first 5 values of the dataframe
5.
FLASHCARD QUESTION
Front
To find the number of columns and rows in a dataset, we can use: shape, df.size, df.shape, size
Back
df.shape
6.
FLASHCARD QUESTION
Front
Seaborn is used for
Back
Data visualization
7.
FLASHCARD QUESTION
Front
Scikit Learn is mostly used for
Back
ML
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?