Professional Documents
Culture Documents
Practical 12 SA 1 SET B
Practical 12 SA 1 SET B
Class: XII
Subject: Information Practices (Practical)
Duration: 3 Hours Set B M.M.: 30
Q.1. Write a python program to create following DataFrame and write given statements:[6]
SNO Batsman Test ODI T20
1 Virat Kohli 3543 2245 1925
2 Ajinkya Rehane 2578 2165 1853
3 Rohit Sharma 2280 2080 1522
4 Shikhar Dhawan 2158 1957 1020
5 Hardik Pandya 1879 1856 980
Q. 2. Create a CSV file named ‘cricket.csv’ for the following data and display Line chart
from CSV file only:
Virat_Runs:[100,50,42,80]
Rohit_Runs=[45,100,80,60] [4]
Cricket=[‘Match1’,’Match2’,’Match3’,’Match4’]
Compare both cricketers’ runs in all matches with line charts use different line colors.
Use appropriate X label, Y label and Legend. Use ‘Student Result’ as chart title.