Skip to content

nehuffman13/python-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-challenge

PyBank and PyPoll

I created a script to analyze election data: PyPoll and financial data: PyBank

PyBank

I was tasked with creating a Python script for analyzing the financial records of a company.

I created a Python script that analyzes the records to calculate each of the following:

-The total number of months included in the datase

-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

Financial Analysis

Total Months: 86

Total: $38382578

Average Change: $-2315.12

Greatest Increase in Profits: Feb-2012 ($1926159)

Greatest Decrease in Losses: Sep-2013 ($-2196167)

(PythonData) nicoles-mbp:PyBank nicolehuffman$

PyPoll

I was tasked with helping a small, rural town modernize its vote counting process by:

  • 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.

Election Results

Total Votes: 3521001 K h a n

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages