This repository contains Python code for conducting exploratory data analysis (EDA) on sales data. The code covers tasks such as merging multiple months of sales data into a single CSV file, data cleaning and formatting, visualizing sales trends, identifying the best-selling products, determining optimal advertisement times, and discovering frequently co-purchased items.
- Python 3.x
- Pandas
- Matplotlib
- Seaborn
- Plotly
-
Clone the repository to your local machine:
git clone https://github.com/shreeramdrao/Exploratory-Data-Analysis-On-Sales.git
-
Navigate to the project directory:
cd Exploratory-Data-Analysis-On-Sales
-
Install the required libraries (if not already installed):
pip install -r requirements.txt
-
Run the Python scripts in a Jupyter Notebook or any Python IDE to perform the following tasks:
-
Merging Sales Data: Combine sales data from multiple CSV files into a single file for analysis.
-
Data Cleaning and Formatting: Handle missing values, format columns, and prepare data for analysis.
-
Visualizing Sales Trends: Generate plots and charts to visualize sales trends over time.
-
Identifying Best-Selling Products: Determine which products sold the most and analyze their prices.
-
Optimal Advertisement Time: Analyze order timestamps to identify the best time for product advertisements.
-
Frequently Co-Purchased Items: Explore patterns of products frequently purchased together.
-
merge_sales_data.py
: Python script to merge 12 months of sales data into a single CSV file.
clean_and_format_data.py
: Python script for data cleaning and formatting tasks.
visualize_sales_trends.py
: Python script to visualize sales trends using Matplotlib, Seaborn, and Plotly.
best_selling_products.py
: Python script to identify and analyze best-selling products.
optimal_advertisement_time.py
: Python script to determine the optimal time for product advertisements.
frequently_purchased_items.py
: Python script to discover frequently co-purchased items.
This project is licensed under the MIT License - see the LICENSE file for details.