Thursday, November 13, 2025

🟒 PROJECT 1 (Easy): Student Marks Analysis

πŸ“Œ Objective

Analyze student marks using Pandas and generate useful insights.

πŸ“Œ Dataset (sample)

NameMathsScienceEnglish
Raghav788275
Aman908892
Simran657068

πŸ“Œ Project Tasks

✔ 1. Load the CSV

import pandas as pd df = pd.read_csv("marks.csv")

✔ 2. Display info

print(df.head()) print(df.describe())

✔ 3. Calculate total & percentage

df["Total"] = df[["Maths", "Science", "English"]].sum(axis=1) df["Percentage"] = df["Total"] / 3

✔ 4. Find topper

topper = df.loc[df["Percentage"].idxmax()] print("Topper:", topper["Name"])

✔ 5. Plot bar chart (optional)

df["Percentage"].plot(kind="bar")

No comments:

Post a Comment

Python Viva Questions

  Basic Python Viva Questions 1. What is Python? Python is a high-level, interpreted, and object-oriented programming language used for w...