Search Header Logo

Pandas Part 4 - Attributes

Authored by Nidhi Singh

Computers

5th Grade

Used 1+ times

Pandas Part 4 - Attributes
AI

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

Media Image

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

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?