0% found this document useful (0 votes)
7 views4 pages

Student Result Analysis CBSE Python Project FIXED

The document outlines a Python practical project for analyzing student results using data stored in a CSV file. It details the objective, tools, dataset, and a sample Python program that calculates total marks, average marks, and pass/fail results for students. The conclusion emphasizes the effectiveness of Python in visualizing student performance data.

Uploaded by

rekhalal274
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views4 pages

Student Result Analysis CBSE Python Project FIXED

The document outlines a Python practical project for analyzing student results using data stored in a CSV file. It details the objective, tools, dataset, and a sample Python program that calculates total marks, average marks, and pass/fail results for students. The conclusion emphasizes the effectiveness of Python in visualizing student performance data.

Uploaded by

rekhalal274
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

CBSE CLASS XII – COMPUTER SCIENCE / INFORMATICS

PRACTICES

PYTHON PRACTICAL PROJECT FILE

Project Title: Student Result Analysis Using Python and CSV

Objective:
To analyze student marks stored in a CSV file using Python and represent the result using graphical visualization.

Tools & Libraries Used:


• Python
• CSV File
• Pandas
• Matplotlib
Dataset Used ([Link])

Name Maths Physics Chemistry English


Amit 78 65 70 80
Neha 88 72 85 90
Rahul 45 50 48 60
Priya 92 90 88 95
Karan 60 55 58 62
Python Program
import pandas as pd
import [Link] as plt

data = pd.read_csv("[Link]")

data["Total"] = [Link][:,1:5].sum(axis=1)
data["Average"] = data["Total"] / 4

def result(row):
if (row[1:5] >= 40).all():
return "Pass"
else:
return "Fail"

data["Result"] = [Link](result, axis=1)

print(data)
Sample Output

Name Total Marks Average Marks Result


Amit 293 73.25 Pass
Neha 335 83.75 Pass
Rahul 203 50.75 Pass
Priya 365 91.25 Pass
Karan 235 58.75 Pass

Conclusion:
This project shows how Python can be effectively used to analyze student results using CSV files and visualize
performance for better understanding.

You might also like