|
--- |
|
datasets: |
|
- HuggingFaceFW/fineweb |
|
language: |
|
- id |
|
metrics: |
|
- accuracy |
|
- brier_score |
|
library_name: espnet |
|
tags: |
|
- code |
|
--- |
|
# Profit Calculation from CSV with Flask |
|
|
|
This project demonstrates how to calculate profit data from a CSV file using Flask, a lightweight web framework for Python. The application allows users to upload a CSV file containing financial transaction data, processes the data to extract deposit, withdrawal, and profit information, and then displays the calculated profit metrics on a web interface. |
|
|
|
## Features |
|
|
|
- **Upload CSV:** Allows users to upload a CSV file containing financial transaction data. |
|
- **Calculate Profit:** Processes the uploaded CSV file to calculate initial deposits, total withdrawals, profit, and profit percentage. |
|
- **Display Results:** Displays the calculated profit metrics including initial deposit amount, total withdrawals, profit, and profit percentage on a web page. |
|
|
|
## Technologies Used |
|
|
|
- Python |
|
- Flask: A micro web framework for Python |
|
- Pandas: Data analysis library for Python |
|
- Docker: Containerization platform for building and deploying applications |
|
- HTML/CSS: For frontend interface |
|
|
|
## Installation and Setup |
|
|
|
### Prerequisites |
|
|
|
- Docker installed on your machine ([Docker Installation Guide](https://docs.docker.com/get-docker/)) |
|
|
|
### Setup Instructions |
|
|
|
1. Clone the repository: |
|
```bash |
|
git clone https://huggingface.co/Iqbaljanitra/Profit_Calculation |
|
cd Profit_Calculation |