Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sarahm44/python-financial-analysis
Python financial analysis of company profit/loss records.
https://github.com/sarahm44/python-financial-analysis
financial-analysis fintech python3
Last synced: 3 days ago
JSON representation
Python financial analysis of company profit/loss records.
- Host: GitHub
- URL: https://github.com/sarahm44/python-financial-analysis
- Owner: sarahm44
- Created: 2022-02-20T00:40:16.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-05T04:47:09.000Z (over 2 years ago)
- Last Synced: 2025-01-26T05:18:42.440Z (18 days ago)
- Topics: financial-analysis, fintech, python3
- Language: Jupyter Notebook
- Homepage:
- Size: 77.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python Financial Analysis
![Revenue](https://github.com/sarahm44/python-financial-analysis/blob/main/revenue-per-lead.jpg)## Overview
In this activity, I was tasked with creating a Python script for analyzing the financial records of a company.## Data
I was provided with a financial dataset in this file: [budget_data.csv](https://github.com/sarahm44/python-financial-analysis/blob/main/PyBank/budget_data.csv).This dataset is composed of two columns, Date and Profit/Losses.
## Tasks Required
My task was to create a Python script that analyzes the records to calculate each of the following:* 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 Analysis:
My final script is contained in [main.ipynb](https://github.com/sarahm44/python-financial-analysis/blob/main/PyBank/main.ipynb).It prints the analysis to the terminal and exports a text file with the results.
My resulting analysis is contained in this text file: [Financial_analysis.txt](https://github.com/sarahm44/python-financial-analysis/blob/main/PyBank/Financial_analysis.txt)
It states as follows
```text
Financial Analysis
----------------------------
Total Months: 86
Total: $38382578
Average Change: $-2315.1176470588234
Greatest Increase in Profits: Feb-2012 ($1926159)
Greatest Decrease in Profits: Sep-2013 ($-2196167)
```