Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 919 Bytes

README.md

File metadata and controls

29 lines (21 loc) · 919 Bytes

Python-Challenge

WEEK 3 -ASSIGNMENT

PYBANK CSV file : budget_data.csv with two columns Date and Profit/Losses TASK: Python Script for

  • 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
  • Final script should both print the analysis to the terminal and export a text file with the results.

PYPOLL CSV file : election_data with three columns Voter-ID,County,Candidate Task: Python Script for

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