Skip to main content

Posts

Showing posts from July, 2025

GRADE XII - IP REVISION - 8TH JULY 2025

IP REVISION #ASSIGNMENT SOLUTIONS #1 import pandas as pd ''' a=[{'name':'virat','matches Played':180,'avg score':4500},    {'name':'rohit','matches Played':190,'avg score':4700},    {'name':'Dhoni','matches Played':280,'avg score':4600}] f=pd.DataFrame(a) print(f) #or a={'name':['Virat','Rohit','Dhoni'],    'Matches Played':[180,160,170],    'Avg Score':[20,30,280]} f=pd.DataFrame(a) print(f) #2 a=[{'Item':'charger','Cost':180,'Discount':'5%'},    {'Item':'TubeLight','Cost':180,'Discount':'6%'}] f=pd.DataFrame(a) print(f) #OR a={'Item':['Charger','TubeLight','Bulb'],    'Cost':[23,45,100]} f=pd.DataFrame(a) print(f) ''' #3 ''' a={2015:pd.Series(['78%','33%','67%',...