Search Header Logo

SERIES1 VKL

Authored by Vaishali Lamba

Computers

12th Grade

Used 10+ times

SERIES1 VKL
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

23 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Give the output of the following code:


>>>import pandas as pd

>>>dict1 = {'AR' : 100, 'VR' : 200, 'AI' : 300}

>>>ser = pd.Series(dict1)

>>>print(ser[1])

AR

100

VR

200

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

print(ser[2,4])

print(ser[[2:4]])

print(ser[[2,4]])

print(ser[2,3,4])

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

print(ser[[1,3]])

print(ser[1:3])

print(ser[[1:3]])

print(ser[1,3])

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the print statement to display the elements of a series series1 from end till beginning in step 2?

print(series1[::-2])

print(series1[::2])

print(series1[:-2:])

print(series1[:2:])

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is true for series.

Size is mutable,Values is mutable

size is immutable,values is mutable

size is mutable,values is immutable.

none

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Series in Pandas is

1 Dimensional Array

2 Dimensional array

3 Dimensional array

none of above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Series.tail(3) will return how many values.

3 values from front

3 values from last

5 values

none

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?