Search Header Logo

Pandas Series Quiz

Authored by Vaishali Lamba

Computers

12th Grade

Pandas Series Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

34 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ankush works with a series named "Team". Answer the following questions, based on the given series: Write statement to create the following Series Team, a) di={'Chargers':'Level2','Warriors':'Level1','Blazers':'Level3','Braves':'Level2','Bears':'Level5'} Team=pd.Series(di) b) Team=pd.Series(data={'Chargers':'Level2','Warriors':'Level1','Blazers':'Level3', 'Braves':'Level2', 'Bears':'Level5'} c) Both a and b d) None of these

None of these

Both a and b

Team=pd.Series(data={'Chargers':'Level2','Warriors':'Level1','Blazers':'Level3', 'Braves':'Level2', 'Bears':'Level5'}

di={'Chargers':'Level2','Warriors':'Level1','Blazers':'Level3','Braves':'Level2','Bears':'Level5'} Team=pd.Series(di)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Predict the output of, print(Team.head(-2))

None of these

Chargers Level2 Warriors Level1

Error

Braves Level2 Bears Level5 Chargers Level2 Warriors Level1 Blazers Level3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of error is returned by following statement? >>>import pandas as pd >>>pd.Series([10,20,30,40,50], index = ['x','y','z'])

Syntax Error

Index Error

Logical Error

Value Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pandas Series is:

Multidimensional

2 Dimensional

3 Dimensional

1 Dimensional

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pandas is a:

Package

Software

Library

Language

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We can analyse the data in pandas with ___________

Data Frame

Both of the above

None of the above

Series

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following import statement is not correct?

import pandas as pd1

import pandas as 1pd

import pandas as pd

import pandas as class12

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?