Skip to content

Latest commit

 

History

32 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Challenge - Module 3

I analyzed the records of two csv files create a Python script, my calculation was each file. I could do the following:

a. PyBank:The dataset is composed of two columns: "Date" and "Prot/Losses". I analyzed the records to calculate each of the following values:

  1. The total number of months included in the dataset.
  2. The net total amount of "Prot/Losses" over the entire period.
  3. The changes in "Prot/Losses" over the entire period, and then the average of those changes.
  4. The greatest increase in prots (date and amount) over the entire period.
  5. The greatest decrease in prots (date and amount) over the entire period.

b. Pyboll:The dataset is composed of three columns: "Voter ID", "County", and "Candidate. I analized 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.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages