Vantika's Project File
Vantika's Project File
SCHOOL
Informatics Practices
Student Management System
Project File
2022-2023
1|P a ge
Acknowledgement
2|P a ge
Certificate
3|P a ge
Index
4|P a ge
Hardware and Software Requirement
Software:
Python 3.8.2
Operating System:
Windows 10
5|P a ge
Student Management System
Introduction
In the Student Management system Project in python, we will see a project that
manages the information of the students. It includes managing data such as name,
date of birth, which class and what marks they have got in various subjects.
The basic task to be performed on this Project are:
1. Create/Import New Dataframe
2. Student Data Analysis
3. Student Data Visualisation
4. Export Dataframe to csv file
In Create New Dataframe menu you will come across the following buttons in
which you can create new dataframe, or can add modify the details and also an
option to return to main menu.
1. Create Dataframe
2. Import Dataframe from csv file
3. Add/Modify Custom Index
4. Add/Modify Custom Column Head
5. Return to main menu
Under the analysis tab, there are various options whivh we can perform add new
row, delete row, see the student with max marks, see the first nth rows.
1. Display All records
2. Print first nth records
3. Print last nth records
4. Print All records in order of Name
6|P a ge
5. Display student with maximum marks
6. Display student with minimum marks
7. Display students who have secured passing marks
8. Print distinct classes
9. Add a row to Dataframe
10. Delete a row from Dataframe
11. Return to main menu
Features of Project
Free of technical errors
Easy to understand
Data can be easily analysed
Less human efforts
About Python
Python is very high in demand and all the major companies are looking for great
Python Programmers to develop websites, software components, and applications
or to work with Data Science, AI, and ML technologies.
Applications of Python
Easy-to-learn − Python has few keywords, simple structure, and a clearly
defined syntax. This allows the student to pick up the language quickly.
Easy-to-read − Python code is more clearly defined and visible to the eyes.
Easy-to-maintain − Python's source code is fairly easy-to-maintain.
A broad standard library − Python's bulk of the library is very portable
and cross-platform compatible on UNIX, Windows, and Macintosh.
Interactive Mode − Python has support for an interactive mode which
allows interactive testing and debugging of snippets of code.
7|P a ge
Portable − Python can run on a wide variety of hardware platforms and has
the same interface on all platforms.
Extendable − You can add low-level modules to the Python interpreter.
These modules enable programmers to add to or customize their tools to be
more efficient.
Databases − Python provides interfaces to all major commercial databases.
GUI Programming − Python supports GUI applications that can be
created and ported to many system calls, libraries and windows systems,
such as Windows MFC, Macintosh, and the X Window system of Unix.
Scalable − Python provides a better structure and support for large
programs than shell scripting.
CSV
A CSV (Comma Separated Values) format is one of the most simple and common
ways to store tabular data. To represent a CSV file, it must be saved with
the .csv file extension.
CSV Advantages
CSV is human readable and easy to edit manually.
CSV is compact.
8|P a ge
Result Processing using-code
Import pandas as pd
While(True):
Print(“Main Menu”)
9|P a ge
Print(“4. Working on Records”)
Print(“8. Exit”)
If ch==1:
Result=pd.read_csv(“results.csv”,index_col=0)
Elif ch==2:
While (True):
10 | P a g e
Print(“2. Display all column names”)
Print(“8. Exit”)
Ch2=int(input(“Enter choice”))
If ch2==1:
Print(result.T)
Elif ch2==2:
Print(result.columns)
11 | P a g e
Elif ch2==3:
Print(result.index)
Elif ch2==4:
Print(result.shape)
Elif ch2==5:
Print(result.ndim)
Elif ch2==6:
Print(result.dtypes)
Elif ch2==7:
Print(result.size)
Elif ch2==8:
Break
12 | P a g e
Elif ch==3:
While(True):
Print(“7. Exit”)
Ch3=int(input(“Enter choice”))
13 | P a g e
If ch3==1:
Print(result.head())
Elif ch3==2:
Print(result.tail())
Elif ch3==3:
Print(result.head(n))
Elif ch3==4:
Print(result.tail(n))
Elif ch3==5:
14 | P a g e
St=input(“Enter the subject name for which you want to
see the details”)
Print(result.loc[st])
Elif ch3==6:
Print(result)
Elif ch3==7:
Break
Elif ch==4:
While(True):
15 | P a g e
Print(“3. Update a specific subject detail”)
Print(“4. Exit”)
Ch4=int(input(“Enter choice”))
If ch4==1:
16 | P a g e
I=int(input(“Enter number of B2’s”))
Uman.loc[a]=[b,c,d,e,f,g,h,I,j,k,l,m]
Elif ch4==2:
Human.drop([a],inplace=True)
Elif ch4==3:
17 | P a g e
A=input(“Enter subject name whose data needs to be
updated”)
18 | P a g e
M=int(input(“Enter number of E’s”))
Human.loc[a]=[b,c,d,e,f,g,h,I,j,k,l,m]
Elif ch4==4:
Break
Elif ch==5:
While(True):
Print(“3. Exit”)
Ch5=int(input(“Enter choice”))
19 | P a g e
If ch5==1:
Print(“Enter details”)
Result[h]=pd.Series(data=det,index=result.index)
Print(“Column inserted”)
Elif ch5==2:
Human.drop([a],axis=1,inplace=False)
Elif ch5==3:
Break
20 | P a g e
Elif ch==6:
While(True):
Print(“Search Menu”)
Print(“3. Exit”)
Ch6=int(input(“Enter choice”))
If ch6==1:
Print(result.loc[st])
Elif ch6==2:
21 | P a g e
Col=input(“Enter column/heading name whose details you
want to see”)
Print(result[col])
Elif ch6==3:
Break
Elif ch==7:
While(True):
Print(“7. Exit”)
Chana=int(input(“Enter choice:”))
If chana==1:
M=result[‘average’].max()
S=result.loc[result.average==m]
Elif chana==2:
M=result[‘average’].min()
S=result.loc[result.average==m]
23 | P a g e
Print(“Subject with minimum average marks of “,m,” is\n
“,s.index)
Elif chana==3:
M=result[‘highest’].max()
S=result.loc[result.highest==m]
Elif chana==4:
M=result[‘highest’].min()
S=result.loc[result.highest==m]
Elif chana==5:
M=result[‘per’].max()
24 | P a g e
S=result.loc[result.per==m]
Elif chana==6:
M=result[‘per’].min()
S=result.loc[result.per==m]
Elif chana==7:
Break
Elif ch==8:
Break
25 | P a g e
Result Processing using-output
26 | P a g e
27 | P a g e