This project analyzes student performance data using Python and pandas.
It validates assessment scores to ensure data quality and generates basic insights such as subject-wise average scores and pass/fail counts.
The dataset (StudentsPerformance.csv) contains student assessment details including:
- Math score
- Reading score
- Writing score
- Demographic/background information (gender, race/ethnicity, parental education, lunch, test preparation)
- Loaded student performance data from a CSV file using pandas.
- Checked for invalid scores (less than 0 or greater than 100) across math, reading, and writing columns.
- Ensured all assessment scores fall within acceptable ranges before analysis.
- Calculated average Math, Reading, and Writing scores.
- Counted the number of students who passed and failed Math using a pass mark threshold.
The script prints:
- Invalid rows count (if any invalid scores exist)
- Average Math, Reading, and Writing scores
- Students passed math / failed math counts
- Clone the repository:
git clone https://github.com/VenkatM77797/student-performance-analytics- Navigate to the project folder:
cd student-performance-analytics- Install dependencies:
python -m pip install pandas- Run the script:
python check_invalid_marks.py👤 Author
Venkat Mandarapu