Skip to content

bayu-siddhi/e-commerce-data-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dicoding Final Project: "Learn Data Analysis with Python"

Dashboard Tab 1

Project Description

This repository is the final project of the Dicoding class "Learn Data Analysis with Python". This project attempts to analyze the E-Commerce Public Dataset data provided by Dicoding or through the source Kaggle with the title Brazilian E-Commerce Public Dataset by Olist. The purpose of this analysis is to explore and get to know the dataset, as well as find some interesting insights from the dataset to answer business questions.

Main Project Structure

  • ./data: Contains all datasets in .csv format used in the Data_Analysis_Project.ipynb notebook.
  • ./dashboard: Contains all files and codes used to build the data analysis dashboard using Streamlit.
  • notebook.ipynb: Interactive Python Notebook (.ipynb) file where the entire data analysis process is carried out.

Install and Run Dashboard

  1. Clone the repository to the local computer using the following command.

    git clone https://github.com/bayu-siddhi/e-commerce-data-analysis.git
    
  2. Once inside the root directory of this project on your local computer, create a virtual environment (e.g. with the name .venv) to install all the dependencies needed to run the notebook and dashboard.

    python -m venv .venv
    
  3. Activate the .venv virtual environment by running the following command.

    .\.venv\Scripts\activate
    
  4. After the virtual environment is active, the next step is to install the project dependencies by running the following command.

    pip install -r requirements.txt
    
  5. After all dependencies have been successfully installed, the dashboard can be run using the following command.

    streamlit run .\dashboard\main.py
    

Alternative Method

If steps 4 and 5 do not work in the virtual environment .venv in step 3, then use the method of calling the virtual environment manually as follows.

Make sure the position of the current working directory is at the root of the project directory.

  1. Alternative step number 4.

    .\.venv\Scripts\python.exe -m pip install -r requirements.txt
    
  2. Alternative step number 5.

    .\.venv\Scripts\python.exe -m streamlit run .\dashboard\main.py
    

About

Final Project of "Learn Data Analysis with Python" course from Dicoding Indonesia. Creating data analysis on E-Commerce Public Dataset using Python based on business questions, including creating a dashboard using Streamlit.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors