
Pandas Part 4 - Attributes
Authored by Nidhi Singh
Computers
5th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A teacher records students' test scores but some students were absent. How can we check if there are missing scores?
scores.shape
scores.ndim
scores.hasnans
scores.nbytes
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A shop tracks the prices of five products. Which attribute will return "ProductPrices"?
prices.index
price.name
price.shape
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A student creates a Pandas Series to store the number of books read in each month. What will books_read.size return?
5
7
(5,)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A school is storing students' roll numbers in a Pandas Series. What will roll_numbers.ndim return?
2
1
101,102,103,104
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A school is storing students' ages in a Pandas Series. Which attribute will return all the ages as an array?
ages.shape
ages.index
ages.values
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A football coach is tracking players' jersey numbers. What will jersey_numbers.shape return?
(5, )
5
7
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A store tracks the weight (in kg) of vegetables sold each day. Which attribute will tell us the number of items in the list (including missing ones)?
weights.shape
weights.size
weights.hasnans
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?