This repository contains a data analysis project analyzing public e-commerce data and a Streamlit dashboard.
View my notebook on Colab.
View my deployed dashboard on Streamlit.
Dashboard screencast overview.
.
├── dashboard
│ ├── dashboard.py
│ ├── pngwing.com.png
├── e-commerce_public_dataset
│ ├── *.csv
├── notebook.ipynb
├── README.md
├── requirements.txt
├── script.py
├── url.txt
Clone this repository to local machine.
git clone https://github.com/fxrdhan/Data-Analysis-Project.git
cd Data-Analytics-Project
Linux:
curl https://pyenv.run | bash
Windows: Here
macOS: Here
-
macOS/Linux:
pyenv virtualenv 3.x.x myenv
-
Windows (PowerShell):
pyenv-win virtualenv 3.x.x myenv
-
macOS/Linux:
pyenv activate myenv
-
Windows (PowerShell):
pyenv shell myenv
-
macOS/Linux:
pyenv deactivate
-
Windows (PowerShell):
pyenv shell system
Install required packages:
pip install -r requirements.txt
cd dashboard
streamlit run dashboard.py
-
pyenv: command not found
- Ensure pyenv is properly installed
- Check if pyenv is added to your PATH
- Restart your terminal
-
Package installation errors
- Upgrade pip:
pip install --upgrade pip
- Try installing packages individually
- Upgrade pip:
-
Streamlit port already in use
- Kill the process using the port:
lsof -i:8501
- Try running on a different port:
streamlit run dashboard.py --server.port XXXX
- Kill the process using the port: