We were tasked with creating a Python script for analyzing the financial records of your company. You will give a set of financial data called budget_data.csv. The dataset is composed of two columns: Date and Profit/Losses. We were 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
To use python to summarize financial data and election data into easy to read tables. Also, the results were printed to output file.
Python, Git Bash, Visual Studio
The total number of months included in the dataset
The net total amount of "Profit/Losses" over the entire period
The average of the changes in "Profit/Losses" over the entire period
The greatest increase in profits (date and amount) over the entire period
The greatest decrease in losses (date and amount) over the entire period
PyBank_main - Python script for analyzing financial data csv output - text file with summary results in table form
The total number of votes cast
A complete list of candidates who received votes
The percentage of votes each candidate won
The total number of votes each candidate won
The winner of the election based on popular vote.
PyBank_main - Python script for analyzing financial data csv output - text file with summary results in table form
PyPoll_main - Python script for analyzing election data csv output - text file with outcome results in table form
A table was created for the financial data showing growth and losses. For the election, a table was create to show the percentage of votes with Khan winning with 63%.