Skip to content

The task was to analyze financial data and election data with python to summarize csv files.

Notifications You must be signed in to change notification settings

swillia75/Analyzing_bank_and_election_data_with_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 

Repository files navigation

Analyzing financial data and election data with Python

Project Description

We were tasked with creating a Python script for analyzing the financial records of your company. You will give a set of financial data called budget_data.csv. The dataset is composed of two columns: Date and Profit/Losses. We were given a set of poll data called election_data.csv. The dataset is composed of three columns: Voter ID, County, and Candidate. Your task is to create a Python script that analyzes the votes

Purpose:

To use python to summarize financial data and election data into easy to read tables. Also, the results were printed to output file.

Tools Required

Python, Git Bash, Visual Studio

Instructions

PyBank

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

PyPoll

PyBank_main - Python script for analyzing financial data csv output - text file with summary results in table form

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.

Files

PyBank

PyBank_main - Python script for analyzing financial data csv output - text file with summary results in table form

PyPoll

PyPoll_main - Python script for analyzing election data csv output - text file with outcome results in table form

Results

A table was created for the financial data showing growth and losses. For the election, a table was create to show the percentage of votes with Khan winning with 63%.

About

The task was to analyze financial data and election data with python to summarize csv files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages