Numpy and pandas Introduction

Numpy and pandas Introduction

6th Grade

10 Qs

quiz-placeholder

Similar activities

quizzkelas 1b

quizzkelas 1b

KG - University

10 Qs

Quiz Spuma 1

Quiz Spuma 1

1st Grade - University

15 Qs

may 30

may 30

1st Grade - University

10 Qs

Tentang SMANKER

Tentang SMANKER

KG - Professional Development

10 Qs

Mengenal Guru Lebih Dalam

Mengenal Guru Lebih Dalam

1st - 6th Grade

10 Qs

INTERMEZO

INTERMEZO

4th Grade - Professional Development

10 Qs

perkenalan kelas 6b

perkenalan kelas 6b

KG - University

10 Qs

MENGENAL SEKOLAHKU

MENGENAL SEKOLAHKU

1st - 6th Grade

10 Qs

Numpy and pandas Introduction

Numpy and pandas Introduction

Assessment

Quiz

Fun

6th Grade

Medium

Created by

vidya sagar

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct syntax to create a NumPy array?

np.object([l, 2, 3, 4, 5])

np.array([l, 2, 3, 4, 5])

np.createArray([1, 2, 3, 4, 5])

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following arrays is a two dimensional (2-D) array?

[[1,2,3],[4,5,6]]

42

[1,2,3,4,5]

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct syntax to check the number of dimensions in an array?

arr.ndim()

arr.dim

arr.ndim

arr.dim()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct syntax to print the first item of an array?

print(myArr[1])

print(myArr[0])

print(myArr,1)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct syntax to print the number 8 from the array below:

arr = np.array([[1,2,3,4,5], [6,7,8,9,10]])

print(arr[3, 0])

print(arr[1, 2])

print(arr[7, 2])

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct syntax to print the numbers [3, 4, 5] from the array below:

arr = np.array([1,2,3,4,5,6,7])

print(arr[2:5])

print(arr[3:6])

print(arr[2:4])

print(arr[2:6])

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct syntax to create a Pandas Series from a Python list?

pd.Series(mylist)

pd.getSeries(mylist)

pd.createSeries(mylist)

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?