Skip to content

clark-dc22/Programming-Assignment-4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Programming-Assignment-4

README: Experiment 4 - Data Wrangling and Data Visualization

Intended Learning Outcomes

  1. To identify the codes and functions needed in cleaning and visualizing data.
  2. To be able to apply and use the different codes and functions in creating a Python program for data wrangling and data visualization.

Files Included:

  • Mindy.csv
  • Instru.csv
  • DEL CARMEN_PA#4.ipynb

Problem Statement

Using data wrangling and data visualization techniques with storytelling, analyze the data and present different:

  • (i) Data frames
  • (ii) Visuals

Load ECE Board Exam

  • Code:
Screenshot 2025-09-23 at 3 33 14 PM
  • Output:
Screenshot 2025-09-23 at 3 33 54 PM Screenshot 2025-09-23 at 3 34 10 PM

Task 1: Create Data Frames

a. Filename: Instru

  • Columns: ["Name", "GEAS", "Electronics >70"]
  • Conditions: Track is constant as Instrumentation, Hometown is constant as Luzon
  • Code that will locate students from Luzon and their track is Instrumentation and has a score greater than 70 in Electronics.
  • Code:
Screenshot 2025-09-22 at 12 31 22 PM
  • Output:
Screenshot 2025-09-22 at 12 31 47 PM

b. Filename: Mindy

  • Columns: ["Name", "Track", "Electronics", "Average >=55"]
  • Conditions: Hometown is constant as Mindanao, Gender is constant as Female
  • Code that will show students from Mindanao who are female. It also shows the students whose average is greater than or equal to 55.
  • Code:
Screenshot 2025-09-22 at 12 32 08 PM
  • Output:
Screenshot 2025-09-22 at 12 32 49 PM

Task 2: Create a Visualization

  • Visualize how different features (chosen track in college, gender, hometown) contribute to the average grade.
  • Analyze whether chosen track, gender, or hometown contributes to a higher average score.
  • Codes:
  • By Track:
  • Code that will display a graph that shows the average for each Track.
Screenshot 2025-09-22 at 12 34 00 PM
  • Output:
image
  • By Gender:
  • Code that will display a graph that shows the average for each Gender.
Screenshot 2025-09-23 at 2 39 50 PM
  • Output:
image
  • By Hometown:
  • Code that will display a graph that shows the average for each Hometown.
Screenshot 2025-09-22 at 12 37 43 PM
  • Output:
image

Conclusion:

  • This experiment successfully applied data wrangling and visualization techniques to analyze ECE board exam data. We created filtered dataframes and visualizations to examine how track, gender, and hometown influence academic performance. The exercise demonstrated the power of Python's pandas and matplotlib libraries for transforming raw data into meaningful insights, highlighting the importance of data-driven analysis in identifying trends and patterns for informed decision-making.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published