Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 51

DELHI PUBLIC SCHOOL

SECTOR-4, BS. CITY


SESSION-2023-24

INFORMATICS PRACTICES PRACTICAL


SESSION 2023-24

SUBMITTED BY -:

NAME: SWAPNIL TIRKEY


CLASS/SEC-: XII/H

BOARD ROLL NUMBER: 22266513

INTERNAL SIGNATURE EXTERNAL SIGNATURE


ERTIFICATE

This is to certify that" SWAPNIL


TIRKEY" a student of class XII of Delhi Public
School, Bokaro Steel Cty, session 2023-24 has
satisfactorily cormpleted the required
INFORMATICS PRACTICES PRACTICAL as per the
syllabus of standard XII under the guidance of
“MRS, RASHM SINHA’.

DATE :
BOARD ROLL NUMBER: 22266513

INTERNAL SIGNATURE EXTERNAL SIGNATURE


ACKNOWLEDGEMENT

The success and final outcorre of this project required a lot of


guidance and assistance frommany people and | am extremely
fortunate to have got this all along the corpletion of my project
work. Whatever | have done is only due to my guidance and
assistance and | would not forget to thank
them

| respect and thank MRS RASHM SIN-A for giving me an


opportunity to do this project work and providing me all the
support and guidance which made me carplete the project on
tine

Last but not least | would like to thank all my friends who
supported me all the way and my parents who helped me
financially and encouraged me throughout the the completion of
the project.
AIM: To analyse the Result of class
XII Half Yearly.

SOFTWARE USED: PYTHON 3.10.6


OPERATING SYSTEM: Windows 11

MINIMUM HARDWARE REQUIRED:


e 4GB RAM

e Intel Core 15 Processor


e 512 GB SSD Storage

e AMD RADEON Graphics


-: INDEX: -

1. About the project and software used ....


2. Introduction of PYTHON.............6.
3. Introduction to MATPLOTLIB...........

Introduction to PANDAS...............
. Introduction to DATAFRAME............
. About the topic.............. cee eee

. CSV File(.XLS) 2... cc cece cc ene


~Source Code... ... ccc ccc cece nc eccane
Introduction to PY THON

Python is a widely adopted general-purpose, high-level


programming language. Guido van Rossum created it in 1991, and
the Python Software Foundation has played a pivotal role in
its further development. Python was deliberately crafted with
an emphasis on code readability, and its syntax allows
developers to express their ideas with concise and clear code.

Python stands out in the programming world for several


reasons, which contribute to its ever-increasing popularity:

1. **Readability and Conciseness: ** Python's syntax is


designed for human readability, making it an excellent choice
for both newcomers and seasoned programmers. The use of
indentation and a straightforward, English-like syntax
enhances code clarity.

2. **Concise Expression of Ideas: ** Python enables


programmers to articulate complex concepts with fewer lines of
code, leading to code that is both shorter and easier to
understand. This boosts development efficiency and
maintainability.

3. **Versatility in Programming Paradigms: ** Python supports


various programming paradigms, including object-oriented,
imperative, functional, and procedural programming. This
flexibility allows developers to choose the best approach for
their specific requirements.

4. **Abundant Standard Library: ** Python includes a rich


standard library with built-in functions and modules for a
wide range of common programming tasks. This eliminates the
need to reinvent solutions and accelerates development.

5. **Philosophy of Simplicity: ** Python's core philosophy


emphasizes simplicity, encouraging straightforward and elegant
solutions to problems. This is reflected in the language's
design and syntax.

Additionally, Python possesses these notable characteristics:

- **Interpreted Language: ** Python is an interpreted


language, which means that code can be executed directly from
the source without a separate compilation step. This promotes
quick development and testing.

- **Platform Independence: ** Python is a platform-independent


language, allowing developers to create and run Python
programs on various operating systems, including Linux,
Windows, Macintosh, Solaris, and more. This promotes cross-
platform development.

- **Free and Open Source: ** Python is open-source, granting


everyone the freedom to use, modify, and distribute it. This
open nature fosters a vibrant and supportive community of
Python developers.

- **High-Level Abstraction: ** Python is a high-level language


that abstracts many low-level details, such as memory
Management. This simplifies development by enabling
programmers to focus on problem-solving rather than dealing
with hardware intricacies.

Python's combination of readability, simplicity, versatility,


and its comprehensive standard library makes it a preferred
choice for a diverse array of applications, including web
development, data analysis, scientific computing, and
automation. The ongoing support and development by the Python
Software Foundation continue to drive its popularity and
widespread adoption.

qyXtech Features of Python @ fees

free &

Open © - Orortavitity
Source

Highly
Readable

Memory
Manage © .
ment
Clean

Visual
Layout

@ www nvechcon pratecatucation com


Introduction to MATPLOTLIB

Matplotlib is a powerful Python library for creating 2D


visualizations of data arrays. Developed by John Hunter in 2002,
Matplotlib is a cross-platform tool that works seamlessly with NumPy
arrays and integrates well with the broader SciPy ecosystem. This
library serves as a vital resource for data scientists and analysts,
helping them represent complex data in easily understandable visual
formats. Matplotlib offers a variety of plotting options, including
line plots, bar charts, scatter plots, histograms, and more.

**kKey Features of Matplotlib: **

1. **Diverse Plot Types: ** Matplotlib provides a rich set of


plotting options, allowing users to choose the most suitable
visualization method for their data, whether it's time series data,
categorical data, or statistical distributions.

2. **Pylab Interface: ** Matplotlib offers a procedural interface


called Pylab, which is inspired by MATLAB. This interface simplifies
the process of creating plots, making it more accessible to users
familiar with MATLAB.

3. **Open-Source Alternative: ** With its robust capabilities and


open-source nature, Matplotlib, combined with NumPy, serves as a
cost-effective alternative to proprietary tools like MATLAB,
enabling users to perform data analysis and visualization without
licensing fees.

**kDevelopment and Versions: **

Matplotlib was initially developed by John D. Hunter in 2003. While


your text mentions version 2.2.0 from January 2018, it's worth
noting that Matplotlib has seen significant advancements and updates
since then. The Matplotlib community actively maintains and enhances
the library, continuously improving its features and addressing
issues. Users are encouraged to work with the latest Matplotlib
version to benefit from these ongoing improvements.

In conclusion, Matplotlib is an indispensable resource for Python


data scientists and analysts, offering a wide range of visualization
options and a user-friendly interface. It has evolved significantly
since its inception, remaining a dynamic and essential component of
the data visualization toolkit.
Matplotlib

Features

Python Matplotlib

e Python Matplotlib is a library which basically serves the purpose


of Data Visualization. The building blocks of Matplotlib library is 2-D
NumPy Arrays.

e Thus, comparatively huge amount of information/date can be


handled and represented through graphs, charts, etc with Python
Matplotlib.

e Line Plot | ;
Plotting Techniques: * Scatter Plot | \

e Histogram
Bar Chart \
— ——
INTRODUCTION TO PANDAS

Pandas is a Python library used for working with data sets.

It has functions for analyzing, cleaning, exploring, and


manipulating data.

The name "Pandas" has a reference to both "Panel Data", and


"Python Data Analysis" and was created by Wes McKinney in 2008.

Pandas allows us to analyze big data and make conclusions based


on statistical theories.

Pandas can clean messy data sets, and make them readable and
relevant.

Relevant data is very important in data science.


Pandas gives you answers about the data. Like:

e Is there a correlation between two or more columns?


e What is average value?

e Max value?

e Min value?

Pandas are also able to delete rows that are not relevant, or

contains wrong values, like empty or NULL values. This is


called cleaning the data.

PYTHON PANDAS

An Introduction for
Data Science

data
gyio
Introduction to DATAFRAME

Data Frame is a 2-dimensional labelled data structure


with columns of potentially different types. You can
think of it like a spreadsheet, SQL table, ora
dictionary of Series objects. It is generally the
most commonly used

Panda’s object.

Along with the data, you can optionally pass index


(row labels) and columns (column labels) arguments.
If

you pass an index and/or columns, you are


guaranteeing the index and/or columns of the
resulting

Data Frame. Thus, a dictionary of Series plus a


specific index will discard all data not matching up
to the passed

index.

If axis labels are not passed, they will be


constructed from the input data based on common sense
rules.

f ’
Columns
Name Team Number Position Age

O Avery Bradley Boston Celtics 0.0 PG 25.0


a 1 John Holland Boston Celtics 30.0 SG 27.0
a Boston Celtics (8.0 | PF 29.0

Boston Celtics

Rows

Jordan Mickey NaN PF 21.0

Boston Celtics

4 Terry Rozier
5 Jared Sullinger
6

Evan Turner Boston Celtics


ABOUT THE TORIC

Explore the Class 12 half-


yearly exam results using
Python and Pandas. This
analysis uncovers valuable
insights into student
performance, aiding
educators in identifying
strengths, weaknesses, and
areas for improvement.
Python's efficiency and
Pandas' data manipulation
capabilities synergize to
streamline statistical
analysis, offering a data-
driven approach to inform
educational strategies.
CSV ALE.XLS

ROLL NUMBERS NAME ENGLISH MATHEMATICS PHYSICS CHEMISTRY IP


1 ABHIJEET 52 52 44 65 66
2 ABHIJEET KR JAISWAL 67 45 56 60 56
3 AMRIT KUMAR 58 57 34 59 54
4 ANANT KUMAR 66 42 55 68 68
5 ANTARA PANDEY 64 55 47 55 61
6 ANUSKA BARIK 50 54 65 64 62
7 ARYAN KUMAR SINGH 65 62 56 67 52
8 AYUSH ANAND 60 43 54 64 53
9 AYUSH ANAND 59 45 41 58 51
10 AYUSH RAJ 68 35 43 62 50
11 DEEPANJAN MALLICK 55 57 53 65 52
12 DHRUV SUNDAR CHAR 64 54 65 68 45
13 DIVYANSHU ACHARYA 67 61 66 52 57
14 HARSH RAJ 64 48 68 61 42
15 ISHAN SINGH 58 64 56 48 55
16 JYOTIKA KUMARI 62 57 55 43 54
17 KIRTI JAIN 65 48 42 64 62
18 KUMAR HARSHIT 68 43 40 43 43
19 KUMAR PARVEEN 52 64 49 52 45
20 MANJAY MIRNAL 61 43 68 53 35
21 MD EHTESHAM KALIM 58 52 36 44 57
22 OM PRAKASH 67 53 33 37 54
23 PIYUSH KANDHWEY 62 44 37 46 61
24 PRITAM KUMAR 52 37 59 65 43
25 PRIYANSHU BHUSHAN 55 46 45 46 56
26 RITESH RANJAN 60 65 58 58 67
27 SANYOG KUMAR PANDEY 63 46 39 39 66
28 SHASHWAT SINGH 64 43 45 45 59
29 SHIVAM KUMAR 66 36 56 56 41
30 SHRUTI MANGUAL 51 53 34 34 52
31 SUDHANSHU KUMAR 68 65 38 38 53
32 SOMYA KANDHWEY 61 58 44 44 57
33 SOURISH CHOWDHURY 57 45 56 56 67
34 SURYA RANJAN SINGH 55 53 34 45 46
35 SWAPNIL TIRKEY 70 46 55 55 44
36 TANISHQ KUMAR MISHRA 58 65 69 53 54
37 VISHWAJEET KUMAR 53 46 58 56 56

38 VIVEK ANAND 50 44 30 56 67
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt

df = pd.read_csv("C:\\Users\\skmal\\Documents\\ip project\\
IP_PROJECT1.csv",index_col=0)
“print(df.to_string())"

print("WELCOME TO THE RESULT ANALYSIS OF CLASS XII HALF YEARLY")

“\nPlease select any one option:")


1. Data Visualisation"

"2. Data Manipulation")

"3. Data Analysis")

"4. Statistical Analysis")

5. EXIT")

choice1 = int(input("Enter your choic

if choice1 :
print("\nDATA VISUALISATION")
print("1. Line Graph")
print("2. Vertical Bar Graph")
print("3. Horizontal Bar Graph")
print("4. Histogram")
print("5. EXIT")
choice2 = int(input("Enter your choice: "))

if choice2 1:
df.plot(color=['k', ‘red’, ‘yellow’, ‘blue’, ‘green'])
plt.title("Result Analysis Of Class XII Half Yearly")
plt.xlabel("ROLL NUMBERS”)
plt.ylabel("Marks scored in English, Mathematics, Physics, Chemistry, IP")
plt.show()

elif choice2
df.plot(kind="bar", color=['k', ‘red’, ‘yellow’, ‘blue’, ‘green’ ])
plt.title("Result Analysis Of Class XII Half Yearly")
plt.xlabel("ROLL NUMBERS")
plt.ylabel("Marks scored in English, Mathematics, Physics, Chemistry, IP")
plt.show()

elif choice2
df.plot(kind="barh", color=['k', ‘red’, ‘yellow’, ‘blue’, ‘green'])
plt.title("Result Analysis Of Class XII Half Yearly")
plt.xlabel("ROLL NUMBERS")
plt.ylabel("Marks scored in English, Mathematics, Physics, Chemistry, IP")
plt.show()

elif choice2
df.plot(kind="hist", color=[‘k', ‘red’, ‘yellow’, ‘blue’, ‘green'])
plt.title("Result Analysis Of Class XII Half Yearly")
plt.xlabel("ROLL NUMBERS")
plt.ylabel("Marks scored in English, Mathematics, Physics, Chemistry, IP")
plt.show()
elif choice2 ==
break

else:
print("CHOICE NOT VALID!

elif choicel == 2:
print("\nDATA MANIPULATION")
print("1. Insert a column in the dataframe”)
print("2. Insert a row in the dataframe")
i . Delete column in the dataframe")
+ Delete a row in the dataframe")
+ Rename a column in the dataframe")
EXIT")
choice3 = int(input("Enter your choice: "))

a
a
a
a

if choice3 1
n = input("Enter the column you want to insert: ")
listi = []
print("Enter the no. of elements in the list: ")
m = int(input())
print("Enter the list of values: ")
for i in range(@, m):
a = float(input())
list1.append(a)
df .loc nl = list
print("Enter the list of values: ")
for i in range(@, m):
a = float(input())
list1.append(a)
df.loc[:, n] = list1
print(df.to_string())

elif choice3 :
n = input("Enter the row you want to insert: ")
listi = []
print("Enter the no. of elements in the list: ")
m = int(input())
print("Enter the list of values:
for i in range(@, m):
a = float(input())
list1.append(a)
df.loc[n, :] = list1
print(df.to_string())

elif choice3 == 3:
col = input("Enter the column you want to delete: ")
del df[col]
print(df.to_string())

elif choice3
row = input("Enter the row you want to delete: ")
df.drop([row], inplace=True)
print(df.to_string())

elif choice3
col = input("Enter the column you want to rename: ")
new_col = input(“Enter the new column name: “)
df.rename(columns={col: new_col}, inplace=True)
print(df.to_string())

elif choice3 ==
break

else:
print("CHOICE NOT VALID!")

elif choicel == 3:

the basis Name")


- Sort the dataframe the basis Mathematics Marks ")
- Sort the dataframe the basis English Marks")
- Sort the dataframe the basis Physics Marks")
- Sort the dataframe the basis Chemistry Marks")
. Sort the dataframe the basis IP Marks”)
"7. Name with Maximum Marks")
. Name with Minimum Marks")
print("9. Exit")
choice4 = int(input("Enter your Choice: "))

if choicea 1
dfi = df.sort_values("“NAME")
print(df1.to_string())

elif choicea 2:
df1 = df.sort_values(“MATHEMATICS")
print(dfi[["“NAME", "MATHEMATICS" ]].to_string())

elif choicea as
df1 = df.sort_values("ENGLISH")
print(dfi[[“NAME", "ENGLISH" ]].to_string())

elif choicea 4:
df1 = df.sort_values("PHYSICS")
print(dfi[["NAME", "PHYSICS" ]].to_string())

elif choicea ae
dfi = df.sort_values("CHEMISTRY")
print(df1[["“NAME", "CHEMISTRY" ]].to_string())

elif choicea 6:
dfi = df.sort_values("IP")
print(df1[["NAME","IP"]].to_string())

elif choicea Ts
dfi = df.idxmax()
print(df1.to_string())
elif choicea == 8:
dfa = df.idxmin()
print(df1.to_string())

elif choicea ==
break

else:
print("CHOICE NOT VALID! !!")
break

elif choicel == 4:
print("\nSTATISTICAL ANALYSIS")
print("1. find a percentile of the dataframe")
find standard deviation")
print("3. find variance”)
print("4. find the total description of the dataframe")
print("5. find all the information of the dataframe")
print("6. EXIT")
choice5 = int(input("Enter your Choice: "))

if choices == 1:
n = float(input("Enter the percentile you want to find (in %)
if n==25:

n 75
dfi=df.quantile(q=n,axis=1)
print(df1.to_string())

elif choice5 == 2:
df1 = df.std(axis=0, skipna=True, numeric_only=True)
print(df1.to_string())

elif choice5 == 3:
df1 = df.var(axis=@, skipna=True, numeric_only=True)
print(df1.to_string())

f .quantile(q=n,axis=1)
print(df1.to_string())

elif choices == 2:
df1 = df.std(axis=0, skipna=True, numeric_only=True)
print(df1.to_string())

elif choices ==
dfi = df.var(axis=0, skipna=True, numeric_only=True)
print(df1.to_string())

elif choices == 4:
df1 = df.describe()
print(df1.to_string())

elif choices == 5:
print(df.info())

elif choices
break

else:
print("CHOICE NOT VALID!!!")
break

elif choice1
break

else:
print("CHOICE NOT VALID!!!")
break

print("\nT HANK YOU! ! I")


DATA VISUALISATION

OPTION] - LINE GRAPH

& Figure 1

Marks scored in English, Mathematics, Physics, Chemistry, IP

@#€9 $Q2

& Figure 1

N w 2S w a ~
oS 3 f=} =} f=} 3

fan
°

Marks scored in English, Mathematics, Physics, Chemistry, IP

- o x
Result Analysis Of Class XII Half Yearly
70
65
60
55
50
45
40
— ENGLISH
35 | —— MATHEMATICS
—— PHYSICS
— CHEMISTRY
307 —— IP
0 5 10 15 20 25 30 35 40
Subjects
x=19.27 y=68.34
OPTION2- VERTICAL BAR GRAPH
= o x
Result Analysis Of Class XII Half Yearly
Mmm ENGLISH
@mmm MATHEMATICS
“PHYSICS
Mmm CHEMISTRY
m= IP
| !
AWN EMO HAO oAa aA as SOBA AN OSV OR CES asa er os a
AF A Ft TFT FA TF TF A NNNNNNNONONONO OM MM mannan nm
Ss ts

E> $Q2

x= y=41.4
OPTIONS — HORIZONTAL BAR GRAPH

%& Figure 1

Result Analysis Of Class XII Half Yearly

IP

ENGLISH
MATHEMATICS
PHYSICS
CHEMISTRY

BRB RBRRERPNNNNNNNNNNWUWWWWWW WW

Marks scored in English, Mathematics, Physics, Chemistry, IP

BNWEUMDIOOOPNWAUAIOOSOPNWAUADIDOSOSOHNWEOAIOO

@¢% $Q= 68

OPTION4 - HSTOGRAM

% Figure 1

30 40
Subjects.

Result Analysis Of Class XII Half Yearly

50

60

fay
° N

Marks scored in English, Mathematics, Physics, Chemistry, IP

&€¢9 QE

50
Subjects

ENGLISH
MATHEMATICS,
PHYSICS
CHEMISTRY

IP

70

x=55.20 y=10.52
OPTION = INSERT A COLUMNIN THE DATAFRAME

DATA MANPLLATION

{& *IDLE Shell 3.10.5*

File Edit

Shell Debug Options Window Help

Insert a column in the dataframe

* Rename a column in the dataframe

your choice: 1
the column you wan
the no. of eleme!

in the list

the list of values:

to insert: PHYSICAL EDUCATION

Ln: 34 Cok 2

RESUT-

{& *IDLE Shell 3.10.5*

File Edit Shell Debug Options Window Help

eS
NAME,

ROLL NUMBERS
1 ABHIJEET
2 ABHIJEET KR JAISWAL
3 AMRIT KUMAR
4 ANANT
5 ANTARA PANDEY
6 ANUSKA BARIK
7 ARYAN KUMAR SINGH
8 AYUSH ANAND
9 AYUSH ANAND
10 AYUSH RAT
ll DEEPANJAN MALLICK
12 DHRUV SUNDAR CHAR
13 DIVYANSHU ACHARYA
14 HARSH RAJ
15 ISHAN SINGH
16 JYOTIKA KUMARI
17 KIRTI JAIN
18 KUMAR HARSHIT
19 KUMAR PARVEEN
20 MANJAY MIRNAL
21 MD EHTESHAM KALIM
22 OM PRAKASH
23 PIYUSH KANDHWEY
24 "AM KUMAR
25 PRIYANSHU BHUSHAN
26 RITESH RANJAN
27 SANYOG KUMAR PANDEY
28 SHASHWAT SINGH
29 SHIVAM KUMAR
30 SHRUTI MANGUAL
31 SUDHANSHU KUMAR
32 SOMYA KANDHWEY
33 SOURISH CHOWDHURY
34 SURYA RANJAN SINGH
35 SWAPNIL TIRKEY
36 TANISHQ KUMAR MISHRA
37 VISHWAJEET KUMAR
38 VIVEK ANAND

ENGLISH MATHEMATICS

PHYSICS

CHEMISTRY

PHYSICAL EDUCATION

ON

65.

60505505505 500500500500500500550550050

ln: 98 Col: 76
OPTION2 — INSERT A ROWINTHE DATARRAME

(A *IDLE Shell 3.10.5* 0


File Edit Shell Debug Options Window Help

Python 3.10.5 (tags/v3.10.5:£377153, Jun 6 2022, 16:14:13) [MSC v.1929 64 bit


(AMD64)] on win32

Type "help", "copyright", "credits" or "license()" for more information.

= RESTART: C:\Users\skmal\Documents\ip project\IP project final.py =


WELCOME TO THE RESULT ANALYSIS OF CLASS XII HALF YEARLY

Please select any one option:


1. Data Visualisation

2. Data Manipulation

3. Data Analysis

4. Statistical Analysis

5. EXIT

Enter your choice: 2

DATA MANIPULATION
1. Insert a column in the dataframe

2. Insert a row in the dataframe


3. Delete a column in the dataframe
4. Delete a row in the dataframe
5. Rename a column in the dataframe

6. EXIT

Enter your choice: 2

Enter the row you want to insert: 39


Enter the no. of elements in the list:

Enter the list of values:


ROHIT SHARMA

69
68
66
65
70
Warning (from _warninas module):
Ln: 106 Col: 19
RESULT -
(4 *IDLE Shell 3.10.5* - o x
File Edit Shell Debug Options Window Help
2 ABHIJEET KR JAISWAL 67.0 45.0 56.0 60.0 56.0
3 AMRIT KUMAR 58.0 57.0 34.0 59.0 54.0
4 ANANT KUMAR 66.0 42.0 55.0 68.0 68.0
5 ANTARA PANDEY 64.0 55.0 47.0 55.0 61.0
6 ANUSKA BARIK 50.0 54.0 65.0 64.0 62.0
7 ARYAN KUMAR SINGH 65.0 62.0 56.0 67.0 52.0
8 AYUSH ANAND 60.0 43.0 54.0 64.0 53.0
9 AYUSH ANAND 59.0 45.0 41.0 58.0 51.0
10 AYUSH RAJ 68.0 35.0 43.0 62.0 50.0
11 DEEPANJAN MALLICK 55.0 57.0 53.0 65.0 52.0
12 DHRUV SUNDAR CHAR 64.0 54.0 65.0 68.0 45.0
13 DIVYANSHU ACHARYA 67.0 61.0 66.0 52.0 57.0
14 HARSH RAJ 64.0 48.0 68.0 61.0 42.0
15 ISHAN SINGH 58.0 64.0 56.0 48.0 55.0
16 JYOTIKA KUMARI 62.0 57.0 55.0 43.0 54.0
17 KIRTI JAIN 65.0 48.0 42.0 64.0 62.0
18 KUMAR HARSHIT 68.0 43.0 40.0 43.0 43.0
19 KUMAR PARVEEN 52.0 64.0 49.0 52.0 45.0
20 MANJAY MIRNAL 61.0 43.0 68.0 53.0 35.0
21 MD EHTESHAM KALIM 58.0 52.0 36.0 44.0 57.0
22 OM PRAKASH 67.0 53.0 33.0 37.0 54.0
23 PIYUSH KANDHWEY 62.0 44.0 37.0 46.0 61.0
24 PRITAM KUMAR 52.0 37.0 59.0 65.0 43.0
25 PRIYANSHU BHUSHAN 55.0 46.0 45.0 46.0 56.0
RITESH RANJAN 60.0 65.0 58.0 58.0 67.0
27 SANYOG KUMAR PANDEY 63.0 46.0 39.0 39.0 66.0
28 SHASHWAT SINGH 64.0 43.0 45.0 45.0 59.0
29 SHIVAM KUMAR 66.0 36.0 56.0 56.0 41.0
30 SHRUTI MANGUAL 51.0 53.0 34.0 34.0 52.0
31 SUDHANSHU KUMAR 68.0 65.0 38.0 38.0 53.0
32 SOMYA KANDHWEY 61.0 58.0 44.0 44.0 57.0
33 SOURISH CHOWDHURY 57.0 45.0 56.0 56.0 67.0
34 SURYA RANJAN SINGH 55.0 53.0 34.0 45.0 46.0
35 SWAPNIL TIRKEY 70.0 46.0 55.0 55.0 44.0
36 TANISHQ KUMAR MISHRA 58.0 65.0 69.0 53.0 54.0
37 VISHWAJEET KUMAR 53.0 46.0 58.0 56.0 56.0
38 VIVEK ANAND 50.0 44.0 30.0 56.0 67.0
39 ROHIT SHARMA 69 68 66 65 10

Ln: 22 Cok 0
OPTIONS — DELETE A COLLMNINTHE DATAFRAME

“IDLE Shell 3.10.5* - o x


File Edit Shell Debug Options Window Help

DATA MANIPULATION

Insert a mn in the dat


Insert a row in the dataframe
Delete a column in the dataframe
Delete a row in the dataframe
Rename a column in the dataframe
6. EXIT
Enter your
Enter the

ya ONE

hoi
lumn you want to «

MATHEMATICS
NAME ENGLISH PHY:

ROLL NUMBERS

by 65 66
2 56 60 56
3 34 59 54
4 55 8
5 ANTARA PANDEY 1
6 AD A BARIK

7 ARYAN KUMAR SINGH

8 AYUSH ANAND

9 AY ANAND

AYUSH RAT
DEEPANJAN MALLICK
DHRUV SUNDAR CHAR

DIVYANSHU ACHARYA
HARSH RAJ

ISHAN SINGH 6
JYOTIKA KUMARI 55
KIRTI JAIN 42

KUMAR PARVEEN
MANJAY MIRNAL

ae nw ow
TO

AAG aMe

Loew
Ln: 111 Col: 19

OPTION4 — DE_ETEA ROWINTHE DATAFRAME

& *IDLE Shell 3.10.5* = 0 x


File Edit Shell Debug Options Window Help
DATA MANIPULATION

in the dataframe
the dataframe
the dataframe
the dataframe
n in the dataframe

MATHEMATICS

ABHI
ABHIJEET KR

IKA KUMARI
KIRTI JAIN
wAE IT

Ln: 355 Col: 19


OPTIONS -RENAVE A OOLLUMNIN THE DATAFRAVE

& *IDLE Shell 3.10.5* = o x


File Edit Shell Debug Options Window Help
DATA MANIPULATION

1. Insert a
Insert a

n in the dataframe
the dataframe
the dataframe
the dataframe
in the dataframe

your cho
Enter the column you want to rename: IP

Enter the new column name: INFORMATION PRACTICES

NAME ENGLISH MATHEMATICS PHYSICS CHEMISTRY

INFORMATION PRACT

1 ABHIJEET 52 44 65
2 ABHIJEET KR JA 1 45 56 60
3 AMRIT KUMAR 57 34 59
4 ANANT KUMAR 42 5S 68
5 ANTARA PANDEY 55 a? 55
ANUSKA BARIK 54 65 64

ARYAN KUMAR SINGH 62 56 67 2.

AYUSH ANAND 43 54 64 53

AYUSH ANAND 45 41 58 51

AYUSH RAT 35 43 62 so

DHRUV SUNDAR CHAR 54 65 68 45

DIVYANSHU ACHARYA 61 66 52 57

HARSH RAZ 48 68 61 42

ISHAN SING! 64 56 4e 55

JYOTIKA KUMARI 57 55 43 54

KIRTI JAIN 48 42 64 62

KUMAR HARSHIT 43 40 3 43

64 49 52 45

43 68 53 35
MD EHTESHAM KALIM 52 36 44 Ss?

OM PRAKAS 53 33 37 54

23 PIYUSH KANDHWEY 44 37 46 61

24 PRITAM KUMAR 31 $9 65 43

25 PRIYANSHU BRUSRKAN 46 45 56

26 RITESH RANJAN 65 58 67

27 SANYOG KUMAR PANDEY 46 39 39 66

28 SHWAT S 43 45 45 59

29 KUMA! 3€ Sé Sé 41

30 SHRUTI MANGUAL 53 34 34 52

31 SUDHANSHU KUMAR 65 38 38 53

32 SOMYA KANDHWEY 58 44 44 57

33 SOURISH CHOWDHURY 45 5é sé 67

34 SURYA RANJAN SIX 53 34 45 46

Ln: 413 Col: 19


DATAANALYS'S
ON1 - SORT THR DATAFRAVE ONTHE BASIS OF NAVE

10.5* _

3
x

2 “IDLE Shell 3

File Edit Shell Debug Options Window Help


DATA ANALYSIS

the basis of Name


the of Mathematics Marks

Chemistry Marks
of IP Marks

Enter your Choice: 1

INFORMATION PRACTICI

66
JEET KR JAI 56

54

61

NUSKA BARTK 50 54 65 64 52

ARYAN KUMAR SINGH 65 62 56 67 52


AYUSH ANAND 59 45 aa 58 sa

AYUSH ANAND 60 43 S4 64 53
AYUSH RAT 68 35 43 62 50

DHRUV SUNDAR CHAR, 64 54 6s 68 45


DIVYANSHU ACHARYA 7 61 66 52 7
HARSH RAT 64 48 68 61 42

58 64 56 48 55

62 57 55 43 54

6s 46 42 64 62

a 43 40 43 43

52 64 43 52 45

61 43 8 5: 5

a 52 36 44 57

67 53 33 37 54
62 44 aT 46 61

PRITAM 52 31 89 5 43
PRIVANSHU BHUSHAN 55 46 4s 46 56
ITESH RANJAN 60 6s sa 86 67
SANYOG KUMAR PANDEY 63 46 39 39 66
SHASHWAT SINGH 64 43 4s 45 sg

66 36 56 56 41

si 53 34 34 52

61 58 44 44 57

ST 45 56 56 67

68 65 38 38 53

ss 53 34 4s 46

70 46 5S 55 44

58 65 6s 53 54

53 46 53 56 56

50 44 30 56 67

417 Cok 19

ON2 - SORT THE DATAFRAVE ONTH= BASIS OF MATHEMATICS

e@ *IDLE Shell 3.10.5* at oa x

File

Edit Shell Debug Options Window Help

DATA ANALYSIS
1. Sort the dataframe on the basis of Name

2. Sort the dataframe on the basis of Mathematics Marks


3. Sort the dataframe on the basis of English Marks

4. Sort the dataframe on the hasis of Physics Marks

5. Sort the dataframe on the basis of Chemistry Marks


6. Sork lhe dalaframe on Lhe basis of IP Marks

7. Name with Maximum Marks

8. Name with Minimum Marks

- Exit
Enter your Choice: 2

NAME MATHEMATICS
ROLL NUMBERS
10

AYUSH RAT 35
29 SHIVAM KUMAR 36
24 PRITAM KUMAR 37
4 ANANT KUMAR 42
20 MANJAY MIRNAL 43
28 SHASHWAT SINGH 43
18 KUMAR HARSHIT 43
8 AYUSH ANAND 43
23 PIYUSH KANDEWEY aa
38 VIVEK ANAND 44
33 SOURISH CHOWDHURY 45
2 ABHIJEET KR JAISWAL 45
9 AYUSH ANAND 45
25 PRIYANSHU BAUSHAN 46
35 SWAPNIL TIRKEY 46
27 SANYOG KUMAR PANDEY 46
37 VISHWAJEET KUMAR 46
14 RSH RAT 48
17 KIRTI JAIN 48
1 ABHIJEET 52
au MD EHTESHAM KAZI 52
22 OM PR 53
34 SURYA RAN. INGH 53
30 SHRUTT MANGHAT. 53
6 ANUSKA BARII 54
12 DHRUV SUNDAR C1 54
5 ANTARA PANDEY 55
3 IT Kl 57
16 JYOTIKA XUMAR; 57
32 SOMYA KANDEWEY 58
13 DIVYANSHU ACHARYA el
7 ARYAN KUMAR SINGH €2
15 ISHAN SINGH €4
19 KUMAR PARVEEN €4
26 RITESH RANJAN és
a1 SUDMANSIIU KUMAR 6s
36 TANISHQ KUMAR MISHRA és

Ln: 531 Col: 19


ONS — SORT THE DATARRAME ONTHE BASIS OF ENGLISH MARKS

@ “IDLE Shell 3.10.5*

File Edit Shell Debug Options

ANALYSIS

DATA

ex your Choice: 3

NAME
ROLL NUMBERS
38 VIVER ANAND
é ANUSKA BARIK

30 SHRUTI MANGUAL
24 PRITAM BUMAR
18 KUMAR PARVEEN
a -ABHIJEET
37 VISHWAJEET KUMAR
34 SINGH
25 SHAN
33 DHURY
36

21

26 ESH RANJAN
20 MANJAY MIRNAL
32
23

16

14

17

29

13

22

18
10 CUSH RAT
31 SUDHANSHU KUMAR
35 SWAPNIL TIRKEY

Window Help

Name
Mathematics Marks
English Marks
Physics Marks

IP Marks

ENGLISH

Ln: 590 Col: 19

OPTION — SORT THe DATAFRAVE ONTHE BASIS OF PHYSICS MARKS

@ *IDLE Shell 3.10.5*


File

basis of
basis ¢.
basis
basis
basis
basis

Une

dalalcame on Lae

wich Minimum Macks

Homannaannd

exit
nzer your Choice: 4

NAME
ROLL NUMBERS
38 VIVEX ANAND

HARSH RAT
TANISHQ KUMAR MISHRA

PHYSICS

ia)

Edit Shell Debug Options Window Help

Nene
mathematics Marks
English Marks
Physics Marks
Chemistry Marks
IP Marks

Ln: 73 Cok 19
OPTIONS — SORT ONTHE BASIS OF C-EMISTRY MARKS

@ *IDLE Shell 3.10.5*

File

Ere

Debug Options Window Help


5

dataframe on the basis


dataframe on the basis
dataframe on the basis
dataframe on the basis
dataframe on the basis
dataframe on the basis

with Maximum Marks


with Minimum Marks

Edit Shell
DATA ANALI
1. Sort the
2. Sort the
3. Sort the
4. Sort the
5. Sort the
6. Sort the
7. Name
8. Name
9. Exit

Enter your Choice: 5

ROLL NUMBERS

NAME

SHRUTI MANGUAL
OM PRAKASH

OPTION6 — SORT THE DATAFRAVE ON THE BAGIS OF IP MARKS

of
of
of
of
of
of

Name

Physi

cs Ma’
Chemistry Marks
IP Marks
CHEMISTRY

Shell 3.10.5"

Debug Wek

Ln: 133 Col: 19

Unc 193 Cok 19


OPTION7 — ROLL.NO. WTHMAXIMLM MARKS

@ *IDLE Shell 3.10.5* _ a x

File Fdit Shell Debug Options Window Help

Python 3.10.5 (tags/v3. 10 un 6 2092, 16:14:13) [MSC v.1979 64 Bit (AMN64)] on


wind?
Type "help", “copyrigh.", or “Licesse()" for more informalion.

ART: C:\Users\skmal\Documen=s\ip project\IP preject final.py


WELCOME 10 THE RESULT ANALYSIS OF CLASS 411 JALF YEARL

Please select any one option


Daza Visualisation

2. Daza Manipulation

3. Daza Analysi

4. Statistical Analysis

Ei

EXIT
mter your chcice: 3

DATA ANALYSIS
Sort ths dataframe on ths basis of Name

2, Sort the datatrame on the basis ot Mathematics Marks


3. Sort the dataframe English Marks

4, Sort the datatrame Physics Marks

5. Sort the dataframe Chemistry Marks


6. Sort the dataframe 12 Marks
7

Roll No. with Maximum Marke


No. with minimum Marks

enter your Chcice: 7

ENGLISH 5
MATHEMATICS 26
PHYSICS 36
CHEMISTRY 4

dlype: inves

Please select any one option


Daca Visnalisation
2. Daa Manipulation

3. Nana Analysis

4. Statistical Analysis

ater your cheice

In:39 Cok 19

OPTION8- ROLL.NO. WTHMNMLM MARKS

@ *IDLE Shell 3.10.5* _ a x


File Edit Shell Debug Options Window Help

DATA ANALYSTS
1 the dataframe on the basis of Name

Sort the datefrane on the basis of Mathematics Marke

Sort the dateframe on the basis of English Marks

Sort the dateframe on the basis of Physics Marks


basis of Chemistry Marks
Sort the dateframe on the basis of IP Marks

Roll No. with Minimum Marks

WEIR BWN
o
i
R
o
st
S

Poo
a
By
o
i
ty
W
B
B
0
9
8
st
S
0
Exit
Enter your Choice: 7
ENGLISE 3
MATHEMATICS = 2
PHYSICS 3
CHEMISTRY

1?

dcype: inte4

5
6
6
4
4

Please select any one option


ata Visualisation

2. Data Manipulation

3. Date Analysis

4. Statistical analysis

5. EXIT

Enter your choice: 3

DATA ANALYSIS
Sort the dataframe on the basis of Name

2. Sort the dataframe on the basis of Mathematics Marks

3. Sort the dataframe on the basis of English Marks

4. Sort the dataframe on the basis of Paysics Marks

5. Sort the dataframe on the basis of Chemistry Marks

6. Sort the dataframe on the basis of IP Marks

Roll No. with Maximum Marks


Roll No. with Minimum Marks
Exit

Enter your Choice: 8

ENGLISE 6

MATHEMATICS 10
PHYSICS 38

CHEMISTRY 30

Ip 20

Please select ary one option


Data Visualisation

2. Data Nanipulets on

3. Data Analysi:

4, Statistical bnalysis

Ei

EXIT
nter your choice

Ln: 64 Col: 19
STATISTICAL ANALYSIS
OPTION] - TO AND A PERCENTILE OF THE DATAFRAVE

@ “IDLE Shell 3.10.5*

File Edit Shell Debug Options Window Help


Enter your choice: 4

STATISTICAL ANALYSIS
. To find a percentile of the dataframe

2, To find standard deviation

3. To find variance

4, To find the total description of the dataframe


5. To find all the information of the dataframe

B
R

Enter your Choice: 1


Enter the percentile you want to find (in &): 0.25
ROLL NUMBERS

L 2
2 56
3 54
a 55
5s 85
6 54
7 56
8 53
8 as
io 43
dl 53
1284
130057

23
240043
246
26 «5B
2738
284s
2900 4
300034
310038
32d
33°56
340045
3346
360084
3783

Boorosaoeossooosoo sb eoo sooo osos EES OoeS


OPTION2 — TORIND STANDARD DEVIATION

® *IDLE Shell 3.10.5*


File Edit Shell Debug Options Window Help

a x
Ln: 318 Col: 10
- o x

Type “neip", “copyrignt", “credits” or “license()" for more information.


>>>
------- RESTART: C:\Users\skmal\Documents\ip project\IP project final.py -------
WELCOME TO THE RESULT ANALYSIS OF CLASS XII HALF YEARLY

Please select any one option:


1. Data Visualisation

2. Data Manipulation

3. Data Analysis

4. Statistical Analysis

5. EXIT

Enter your choice: 4

STATISTICAL ANALYSIS

To find a percentile of the dataframe

To find standard deviation

To find variance

To find the total description of the dataframe


To find all the information of the dataframe
EXIT

Enter your Choice: 2

ENGLISH 5.833083

MATHEMATICS 8.520580

PHYSICS 11.281885

CHEMISTRY 9.578009

IP 8.317705

DAORWNE

Please select any one option:


1. Data Visualisation

2. Vata Manipulation

3. Data Analysis
4. Statistical Analysis

5. EXIT

Enter your choice: |

Lr 35 Col: 19
OPTIONS — TO AND VARIANCE

@ *IDLE Shell 3.10.5*

File Edit

Shell Debug Options Window Helo

>>>

Type “nelp"™, “copyrignt™,

= RESTART: C:\Users\skmal\Documents\ip project\IP project final.py =


WELCOME TO THE RESULT ANALYSIS OF CLASS XII HALF YEARLY

“credits”

Please select any one option:

Data Visualisatio
Data Manipulation

Statistical Analysis

1
2
3. Data Analysis
4a.
5

EXIT
Enter your choice: 4

STATTSTTCAT, ANAT. YSTS

Or

“license ()"

. To find a percentile of the dataframe

To find the total description of the dataframe


. ‘to find all the information of the dataframe

2. To find standard deviation


3. To find variance

6. EXIT

Enter your Choice: 3


ENGLISH 34.0383215
MATHRMATTCS 72..600264
PHYSICS 127.2809839
CHEMISTRY 91.738265
IP 69.134211

Please select any one option:

Data Visualisatio
Data Manipulation

Statistical Analysis

1
2
3. Data Analysis
4
De

EXIT
Enter your choice: |

OPTION — TO ANDTHE TOTAL DESCRIPTION OF THE DATAFRAVE

@ *IDLE Shell 3.10.5*

File Edit Shell

Debug Options Window

Help

Please select any one option:

Data Visualisation
Data Manipulation

Statistical Analysis

1
2
3. Data Analysis
4
5

EXIT
Enter your choice:

STATISTICAL ANALYSIS

find the total description of the dataframe

To find all the information of the dataframe

38
49
il
30
40
51

56.

PHYSICS
-000000
-552632
-281885
-000000
- 250000
- 000000
000000

1. To find a percentile of the dataframe


2. To find standard deviation
3. To find variance
4. To
5S.
6. EXIT
Enter your Choice: 4

ENGLISH MATHEMATICS
count 38.000000 38 .000000
mean 60.394737 50.684211
std 5.838083 8.520580
min 50.000000 35.000000
25% 55.500000 44.250000
50% 61.000000 50.000000
19% 65.000000 57.000000
max 70.000000 65.000000

Please select any

one option:

Data Visualisation
Data Manipulation

Statistical Analysis

1
2
3. Data Analysis
4
5

. EXIT
Enter your choice:

69

-000000

CHEMISTRY
38.000000
53.789474
9.578009
34.000000
45.250000
55.500000
61.750000
68.000000

38.
54.
-317705
35.
50.
54.
60.
68.

ao

ror more inrormation-

IP
000000
289474

000000
250000
000000
500000
000000

a
x

In: 35 Cal 19

Ln: 61 Col: 19
OPTIONS — TO AND ALL THEINFORIVATION OF THE DATAFRAME

@ “IDLE Shell 3.10.5* _ a x


File Edil Shell Debuy Options Window Help

q. Statistical Analysis

5. EXIT

Enter your choice: 4

STATISTICAL ANALYSIS

1. To find a percentile of the dataframe

2. To find standard deviation

3. ‘to find variance

4. To find the total description of the datatrame


5. To find all the information of the dataframe
6. EXIT

Enter your Choice: 5

<class 'pandas.core.frame.DataFrame'>

Index: 38 entries, 1 to 38

Data columns (total 6 columns):

# = Column Non-Null Count Dtype


0 NAME 38 non-null object
1 ENGLISH 38 non-null inte4
2 MATHEMATICS 38 non-null inte4
3 PHYSICS 38 non-null inte4
A CHEMISTRY 38 non-null inte4
5 IP 38 non-null inte4

dtypes: int64(5), object(1)


memory usage: 2.1+ KB
None

Please select any one option:


1. bata Visualisation

2. Data Manipulation

3. Data Analysis

4. Statistical Analysis

5. EXIT

Enter your choice: |

Ln: 92 Col: 19
BIBLIOGRAPHY

realpython.com- diagram purpose


pandas.pydata.org
www.geeksforgeeks.org
www.tutorialspoint.com
www.kaggle.com -csv file
data.gov.in -csv file
en.wikipedia.org
www.javatpoint.com
uis.unesco.org

You might also like