Exploring Data Science Libraries

Exploring Data Science Libraries

11th Grade

23 Qs

quiz-placeholder

Similar activities

Advanced Accounting Chapter 2 Review

Advanced Accounting Chapter 2 Review

11th - 12th Grade

22 Qs

Accounting:  Unit 10 Test Review

Accounting: Unit 10 Test Review

9th - 12th Grade

20 Qs

Ulangan Tik Kelas 6

Ulangan Tik Kelas 6

6th Grade - University

25 Qs

Quickbooks Test 3

Quickbooks Test 3

9th - 12th Grade

18 Qs

NBA 2K19 Quiz (made by: Killua HF)

NBA 2K19 Quiz (made by: Killua HF)

KG - 12th Grade

20 Qs

1.05 & 1.06 Vocabulary

1.05 & 1.06 Vocabulary

KG - University

21 Qs

Quiz MS. OFFICE

Quiz MS. OFFICE

11th Grade

25 Qs

Season 4 #Spaic Machine learning Weekly Quiz

Season 4 #Spaic Machine learning Weekly Quiz

KG - Professional Development

20 Qs

Exploring Data Science Libraries

Exploring Data Science Libraries

Assessment

Quiz

Other

11th Grade

Medium

Created by

vishnu vardhan

Used 8+ times

FREE Resource

23 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function in NumPy creates an array from a list?

np.create_array()

np.array()

np.list()

np.from_list()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you access the second element of a NumPy array?

arr[0]

arr[2]

arr[1]

arr.get(1)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the NumPy function `reshape`?

To sort the elements of an array.

To combine multiple arrays into one.

To filter elements based on a condition.

To change the shape of an array without altering its data.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you perform element-wise addition of two NumPy arrays?

Use numpy.multiply() for addition.

Use the '+' operator or numpy.add() to add two NumPy arrays element-wise.

Combine the arrays into a list and sum them.

Use the '-' operator to subtract the arrays.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What method in Pandas is used to read a CSV file into a DataFrame?

load_csv

import_csv

fetch_csv

read_csv

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you select a specific column from a Pandas DataFrame?

Use df.select('column_name') to get a column.

Use df['column_name'] or df.column_name to select a specific column.

Access column_name directly with df.column_name() to retrieve.

Call df.get_column('column_name') for selection.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function would you use to get the first five rows of a DataFrame in Pandas?

df.first(5)

df.take(5)

df.slice(5)

df.head(5)

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?