Search Header Logo

Pandas Series Quiz vl 24/1/25

Authored by Vaishali Lamba

Computers

12th Grade

Used 4+ times

Pandas Series Quiz vl 24/1/25
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

93 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true?

If data is an ndarray, index must be the same length as data.

Series is a one-dimensional labeled array capable of holding any data type.

Both of the above

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pandas series is a combination of________

Records arranged in row and column

Collection of 1 dimensional data and associated index

Collection of 2 dimensional data

Collection of 3 dimensional data

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following are ways to access series elements?

Using for loop

Indexing

Slicing

All of these

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is correct statement to create a series of multiple table of 3?

s = pd.Series(range(3,31,3))

s = pd.Series(range(3,3*11))

s = pd.Series(range(3,3,3))

All of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To specify datatype int16 for a Series object, you can write :

pd.Series(data = array, dtype = int16)

pd.Series(data = array, dtype = numpy.int16)

pd.Series(data = array.dtype = pandas.int16)

all of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pandas supports which of the following types of indexes?

Positional and Labelled Indexing

Numbered and Valued Indexing

Row and Column Indexing

Loop Indexing

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is correct statement to create a series of multiple repeated values 44,55 for three times?

s = pd.Series([44,55],3)

s = pd.Series(np.tile[44,55],3)

s = pd.Series(44,55,3)

s = pd.Series(range(44 and 55, 3))

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?