Professional Documents
Culture Documents
Class: XII - G
GR No.: 9010
Roll No.:
Signature of Principal:
CERTIFICATE
Certified that this dissertation record of the work done by Kanika Siva during XII
Ms.
Ponneshwari
Department of IP
Examiners:
Contents
SNo. Topic Page
no.
1. Introduction 10
2. Process 11
3. System Requirements 12
4. Data Manipulation 13
6. Analysis of Data 18
7. Graphical Representation 21
8. Conclusion 29
Introduction
We the student of class XIIG of Bright Riders School, Abu
Dhabi have been assigned the topic “LIBRARY
MANAGMENT”.
To perform this task, we students were divided into
groups. We are two students Fathima and Kanika. The
work of coding, analyzing, compiling, and concluding
was equally assigned and done.
We are glad we got to work on this project. It was a new
experience for us but with the help of our teachers we
were able to complete the project efficiently.
We feel blessed to have learnt all this with the help of our
teachers and our respected principal sir’s guidance.
Process
Firstly, we did the planning in a paperwork regarding what we
have to do on the assigned project “LIBRARY
MANAGMENT”.
Secondly, we discussed the plans with our subject teacher
and she provided us the right path to perform the work.
Next, we started our project on foot paths of our subject
teacher.
Then, we started our coding, coding took around more than 6
weeks completion.
Next, we analyzed the errors and then we corrected them.
Then, we prepared the project format as shown above.
Thanks to all of my worthy teachers, principal and my dear
group mates.
Also, a great thanks to Bright Riders School for providing us
this golden opportunity.
Importing CSV-
Code:
my_df = {'Name': ['neha', 'haniya'],
'GR no': [1489, 4855]}
df = pd.DataFrame(my_df)
print('DataFrame:\n', df)
csv_data=df.to_csv("C:\\Users\\pathu\\Downloads\\IP practical\\excel\\csv.csv")
print(csv_data)
Analysis of Data
Tail()
Coding-
Output-
Head()
Coding-
Output-
Max()
Min()
Count()
Sum()
GRAPHICAL REPRESENTATION
BAR GRAPH
PIE CHART
SCATTER GRAPH
Coding for connection of systems
import mysql.connector as sql
import pandas as pd
conn=sql.connect(host='localhost',user='root',passwd='*******',)
if conn.is_connected():
print('successfully connected')
c=conn.cursor()
c.execute("use school_library")
def createt1():
values=(name,GR_no)
c.execute(sql,values)
conn.commit()
print('data is updated')
def createt2():
values=(name,author)
c.execute(sql,values)
conn.commit()
print('data is updated')
def createt3():
values=(name,age)
c.execute(sql,values)
conn.commit()
print('data is updated')
def displayt1():
t=conn.cursor()
t.execute('select*from student_details')
record=t.fetchall()
for i in record:
print(i)
def displayt2():
t=conn.cursor()
t.execute('select*from book_details')
record=t.fetchall()
for i in record:
print(i)
def displayt3():
t=conn.cursor()
t.execute('select*from librarian_details')
record=t.fetchall()
for i in record:
print(i)
def showt1():
a=input('enter your name=')
c.execute(t)
v=c.fetchone()
print(v)
def showt2():
c.execute(t)
v=c.fetchone()
print(v)
def showt3():
c.execute(t)
v=c.fetchone()
print(v)
def sqldf():
df=pd.read_sql("select*from library_management;",conn)
print (df)
def csv():
df = pd.DataFrame(my_df)
print('DataFrame:\n', df)
print(csv_data)
print('school library management system')
print('1.login')
print('2.exit')
if cho ==1:
print('connected successfully')
print('school library')
print('1.student details')
print('2.book details')
print('3.librarian details')
print('10.exit')
if cho ==1:
createt1()
createt2()
createt3()
elif cho ==4:
displayt1()
displayt2()
displayt3()
showt1()
showt2()
showt3()
elif cho==10:
sqldf()
elif cho==11:
csv()
exit()
else:
print('wrong password, try again ')
if cho ==2:
exit()