Skip to content

Cross examining data from Wall street finances and election voter data. Summary of analysis contained within .txt files.

Notifications You must be signed in to change notification settings

HanaZubovic/financial-and-election-data-python-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Python Challenge - Py Me Up, Charlie

The Challenge

Using two large data sets PyBank and PyPoll, create a script that summarizes the data and exports the results to a .txt file.

  • Imported data from .csv files
  • Iterated through the data
  • Calculated statics such as: sum, mean, max, min
  • Created a .txt file that contains a summary of the findings

File Directory:

  • A file called main.py contains the main script to run for each analysis.
  • A "Resources" folder that contains the CSV files used.
  • An "analysis" folder that contains a .txt file that has the results from the analysis.

Results

Summary of analysis output

Financial Analysis
----------------------------
Total Months: 86
Total: $38382578
Average  Change: $-2315.12
Greatest Increase in Profits: Feb-2012 ($1926159)
Greatest Decrease in Profits: Sep-2013 ($-2196167)
Election Results
-------------------------
Total Votes: 3521001
-------------------------
Khan: 63.000% (2218231)
Correy: 20.000% (704200)
Li: 14.000% (492940)
O'Tooley: 3.000% (105630)
-------------------------
Winner: Khan
-------------------------

About

Cross examining data from Wall street finances and election voter data. Summary of analysis contained within .txt files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages