SERIES1 VKL

SERIES1 VKL

12th Grade

23 Qs

quiz-placeholder

Similar activities

Python Pandas

Python Pandas

12th Grade

20 Qs

DataFrames in pandas Set1

DataFrames in pandas Set1

12th Grade

20 Qs

Pandas Series-1

Pandas Series-1

12th Grade

21 Qs

Pandas Series

Pandas Series

12th Grade

20 Qs

Python - Pandas-2

Python - Pandas-2

12th Grade

20 Qs

python-series

python-series

12th Grade

20 Qs

DATA HANDLING USING PANDAS-SERIES

DATA HANDLING USING PANDAS-SERIES

12th Grade

18 Qs

Pandas- IP

Pandas- IP

12th Grade

20 Qs

SERIES1 VKL

SERIES1 VKL

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Vaishali Lamba

Used 10+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?