You are on page 1of 14

INFORMATICS PRACTICES

PROJECT (2023-24)

Topic
LI BRA RY
M A NAG EM E NT
ST. ANSELM’S NORTH
CITY SCHOOL

Name — Himaksh
Tanwer
Class — 12th B
Roll No. —
Submitted to — Mrs. Kiran
Dhaka
CERTIFICATE
This is to cer fy that Himaksh Tanwer

of Class 12thB has successfully completed the

Ac vi es in the subject INFORMATICS

PRACTICES as per the regula ons of the CBSE for

the purpose of Internal Assessment / Prac cal


Examina on.

EXTERNAL INTERNAL
EXAMINER EXAMINERS
(Mrs Kiran Dhaka)
ti
ti
ti
ti
ti
ti
ACKNOWL EGDEMEN T

Apart from the e orts of me , the successful


comple on 🏆 of this ac vity le is because of
the constant support and encouragement of my
parents ,
teachers and friends. I would like to express my
sincere gra tude to the almighty God 🙏 and
also my subject teacher Mrs. Kiran Dhaka , for her
enlightenment and
supervision, without which the project wouldn’t
have been completed.
ti
ti
ff
ti
fi
CODING
And
OUTPUTS

import pandas as pd
import matplotlib.pyplot as plt
print("MAIN MENU")
print("1. Class Wise Weekly Issues")
print("2. Class Wise Penalties for late
submission in Dec 2022")
print(“3. Books Ordered in 2022")

1. Class Wise Weekly Issues


Class=['9','10','11','12']
No_of_Issuers=[20,34,21,43]
p=plt.bar(Class,No_of_Issuers,
color=['green','red','blue','black'],
width=0.6)
plt.title('Class Wise Weekly Issues')
plt.xlabel('Class')
plt.ylabel('No_of_Issuers')
plt.show(p)

2. Class Wise Penalties for late


submission in Dec 2022

Class=['9','10','11','12']
No_of_Students=[20,7,15,13]
p=plt.barh(Class,No_of_Students,
color=['violet','red','yellow','indigo'])
plt.title('Class Wise Penalties in Dec
2022')
plt.ylabel('Class')
plt.xlabel(‘No_of_Students')
plt.show(p)
3. Books Ordered in 2022

import matplotlib.pyplot as plt


S_No=[‘1','2','3','4','5','6','7','8','9','10','11','
12','13','14''15','16','17','18','19','20','21']
Quantity=[10,15,12,8,2,5,15,6,20,5,5,20,
20,4,4,3,3,2,3,2,3]
p=plt.bar(S_No,Quantity,color='indigo')
plt.title('Quatity Of Books Ordered')
plt.xlabel('S_No')
plt.ylabel('Quantity')
plt.show(p)
df=pd.read_csv(‘Book1.csv',sep=';',names=['S.No.',
'Name Of Book','Author','Quantity','Total Amount'])
print(df)
print('Sorting in Data Frame : ')
print(df.sort_values(ascending=True,by=‘Quantity'))

print('Accessing Data Frame : ')


print(df.iloc[0:2,:])

print('Renaming Column in Data Frame : ')


df.rename(columns={’S.No.':'BCode'},
inplace=True)
print(df)

print('Deleting Column from Data Frame : ')


del df['Total Amount']
print(df)
print('Adding new Column in Data Frame : ')
df['Price']=[200,350,150,600,750,420,300,550]
print(df)
print(‘Adding a new row')
df.loc[8,:]=[9,'Time Before Time’,’Stephen
Hawking',5,800]
print(df)

print('Deleting a row ')


df.drop(8,axis=0,inplace=True)
print(df)
Executing Program — 3

You might also like