Header Ads Widget

Responsive Advertisement

Series Important Questions Assignment Worksheet no 1.



Series Important Questions Assignment Worksheet no 1

Note: before doing this worksheet please complete series notes. After doing series note you may able do this worksheet. To download Series notes click on below link.

Click here to download or Read Series note 

Question No 1 Given the following Series1

A 100

B 200

C 300

D 400

E 500

Write the command to create above Series and then double the value in series and store in another series named Series2

Question No 2 State whether True or False a.

A series object is size mutable.

B. A Dataframe object is value mutable

Question No 3 Consider a given Series , Series1:

200 700

201 700

202 700

203 700

204 700

Write a program in Python Pandas to create the series and display it.

Question No 4 Consider the following Series object, s

IP 95

Physics 89

Chemistry 92

Math 95

i. Write the Python syntax which will display only IP.

ii. Write the Python syntax to increase marks of all subjects by 10.


Question No 5 Consider a given series : SQTR

QTR1 50000

QTR2 65890

QTR3 56780

QTR4 89000

QTR5 77900

Write a program in Python Pandas to create and display the series.


Question No 6 What will be the output produced by the following programming statements 1 & 2?

import pandas as pd S1=pd.Series(data=[31,41,51])

print(S1>40) -->Statement1

print(S1[S1>40]) -->Statement2


Question No 7 Given two series S1 and S2

S1          S2

A 39      A 10

B 41      B 10

C 42      D 10

D 44      F 10

Find the output for following python pandas statements?

a. S1[ : 2]*100

b. S1 * S2 

c. S2[ : : -1]*10


Click here to download worksheet pdf


Click here to download : Worksheet No 1

Post a Comment

0 Comments