DAP UNIT 1 FLASHCARD

DAP UNIT 1 FLASHCARD

Assessment

Flashcard

Computers

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

Student preview

quiz-placeholder

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?