
Numpy and pandas Introduction
Authored by vidya sagar
Fun
6th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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)
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?
Similar Resources on Wayground
15 questions
Quiz refreshment siswa
Quiz
•
6th - 8th Grade
11 questions
Loops in python
Quiz
•
6th - 8th Grade
14 questions
IGS Ph EL HT KO familiarise DRAFT
Quiz
•
6th Grade
7 questions
Array
Quiz
•
1st - 9th Grade
15 questions
Valentine's Day Trivia Quiz
Quiz
•
6th - 8th Grade
15 questions
San Francisco!
Quiz
•
KG - Professional Dev...
11 questions
Diniyyah Puteri
Quiz
•
6th - 8th Grade
13 questions
Sarea in bucate
Quiz
•
KG - 12th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Fun
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
14 questions
Valentines' Day Trivia
Quiz
•
5th - 6th Grade
15 questions
Valentine's Trivia
Quiz
•
5th - 12th Grade
10 questions
Valentine's Day Word Scramble
Quiz
•
1st - 12th Grade
15 questions
Food Logos , Store Logos and Shoe Logos
Quiz
•
6th - 8th Grade
10 questions
Black History Month
Quiz
•
6th - 8th Grade
25 questions
Valentine's Day
Quiz
•
6th - 8th Grade
8 questions
Restaurant Logo & Slogan Game
Quiz
•
6th - 8th Grade