Thay Chansy Logo Image
Thay Chansy

Project 3

Module Challenge - Python PyPoll

Project Image

Project Overview

In this Challenge, you are tasked with helping a small, rural town modernize its vote-counting process. You will be given a set of poll data called election_data.csv. The dataset is composed of three columns: "Voter ID", "County", and "Candidate". Your task is to create a Python script that analyzes the votes and calculates each of the following values: 1) The total number of votes cast 2) A complete list of candidates who received votes 3) The percentage of votes each candidate won 4) The total number of votes each candidate won 5) The winner of the election based on popular vote.

Tools Used

Python
Pandas
VS Code
Flask
JavaScript