An open API service indexing awesome lists of open source software.

https://github.com/fbarffmann/python-challenge

Automated financial and election data analysis using Python. Cleaned and transformed large CSV datasets, calculated key business metrics, and generated automated reports for stakeholders.
https://github.com/fbarffmann/python-challenge

automation csv data-analysis data-cleaning election-analysis financial-analysis python reporting

Last synced: about 21 hours ago
JSON representation

Automated financial and election data analysis using Python. Cleaned and transformed large CSV datasets, calculated key business metrics, and generated automated reports for stakeholders.

Awesome Lists containing this project

README

        

# Python Challenge Projects

This repository contains two Python-based data analysis projects focused on financial and election data. Both projects demonstrate the ability to import, clean, analyze, and summarize large datasets using core Python libraries.

## Projects Overview

### 1. PyBank: Financial Analysis

Analyzes budget data over a multi-year period to calculate key financial metrics.

#### Analysis Includes:
- Total months of data
- Net total amount of profit/losses
- Average change in profit/losses between months
- Greatest increase in profits (date & amount)
- Greatest decrease in losses (date & amount)

---

### 2. PyPoll: Election Analysis

Analyzes election data to calculate and report voting results.

#### Analysis Includes:
- Total number of votes cast
- List of candidates who received votes
- Total number of votes each candidate won
- Percentage of votes each candidate won
- Winner of the election based on popular vote

---

## Tools & Technologies Used

- Python 3.x
- CSV file handling
- Python built-in functions & loops
- Text file output for reporting results

---

## File Structure

```text
PyBank/
├── main.py - Analysis code for financial data
├── Resources/
│ └── budget_data.csv - Source dataset
└── analysis/
└── analysis.txt - Output results

PyPoll/
├── main.py - Analysis code for election data
├── Resources/
│ └── election_data.csv - Source dataset
└── analysis/
└── analysis.txt - Output results
```

---

## Skills Demonstrated

- Data Cleaning & Transformation
- CSV File Manipulation in Python
- Analysis Automation
- Report Writing to Text Files
- Problem-Solving with Python

---

## Key Takeaways

- Built Python scripts to automate data analysis workflows.
- Translated messy CSV files into clear business insights.
- Generated automated reports ready for stakeholders.