odwct / Python-Challenge

0 stars 0 forks source link

PyBank Financial Analysis

revenue-per-lead

  1. Analysis of a financial dataset called budget_data.csv. The dataset is composed of two columns: "Date" and "Profit/Losses".

The Python Script analyzes the records to calculate and print in a text file the following values:

The results are shown below:

Financial Analysis

Total Months: 86

Total Profit & Losses: $22564198

Average Change: $ -8311.11

Greatest increase in Profits: 16-Aug ($1862002)

Greatest decrease in Profits: 14-Feb ($-1825558)

PyPoll Election Results

Vote_counting

  1. Analysis of a set of poll data called election_data.csv. The dataset is composed of "Voter ID, County and Candidate".

The Python Script analyzes the records to calculate and print in a text file the following values:

The results are shown below:

Election Results

Total Votes: 369711


Charles Casper Stockham:23.049% (85213)

Diana DeGette:73.812% (272892)

Raymon Anthony Doane: 3.139% (11606)


Winner: Diana DeGette