Skip to content

davidwjones/Python-Challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Python-Challenge

This was our first Python assignment for the Data Analysis and Visualization boot camp. I wrote two scripts for this assignment.
PyBank I was tasked with creating a Python script for analyzing financial records. I was given two sets of revenue data (budget_data_1.csv and budget_data_2.csv). Each dataset was composed of two columns: Date and Revenue. I needed to create a Python script that analyzes the records to calculate each of the following:

  • The total number of months included in the dataset
  • The total amount of revenue gained over the entire period
    • The average change in revenue between months over the entire period
    • The greatest increase in revenue (date and amount) over the entire period
    • The greatest decrease in revenue (date and amount) over the entire period

PyPoll I was tasked with creating a vote-counting Python script. I was given two sets of poll data (election_data_1.csv and election_data_2.csv). Each dataset is composed of three columns: Voter ID, County, and Candidate. I needed to create a Python script that analyzed the votes and calculates each of the following:

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

About

Repository for First Python Homework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages