Search Header Logo

VKL Pandas Series Quiz

Authored by Vaishali Lamba

Computers

5th Grade

Used 2+ times

VKL Pandas Series Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 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

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

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

Both a and b

None of these

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

Braves Level2 Bears Level5 Chargers Level2 Warriors Level1 Blazers Level3

Chargers Level2 Warriors Level1

Error

None of these

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

Logical Error

Value Error

Index Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pandas Series is:

2 Dimensional

3 Dimensional

1 Dimensional

Multidimensional

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pandas is a:

Package

Language

Library

Software

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We can analyse the data in pandas with ___________

Series

Data Frame

Both of the above

None of the above

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following import statement is not correct?

import pandas as class12

import pandas as 1pd

import pandas as pd1

import pandas as pd

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?