This project involves a comprehensive Exploratory Data Analysis (EDA) of Amazon sales data. The goal is to derive actionable business insights regarding order trends, product popularity, fulfillment methods, and customer geography. The analysis focuses on data cleaning, processing, and summarizing key metrics using Python.
The dataset contains 128,975 records and 23 columns. It includes transactional data such as:
- Order Details: Order ID, Date, Status, Amount.
- Product Details: SKU, Category, Size, Style.
- Fulfillment: Ship Service Level, Fulfilled By, Courier Status.
- Customer Location: Ship City, Ship State, Ship Country.
- Language: Python
- Libraries: Pandas
- Environment: Jupyter Notebook
Before analysis, the raw data underwent significant preprocessing:
- Handling Null Values:
- Dropped the empty
Unnamed: 22column. - Filled missing
Amountvalues with0. - Filled missing
Courier Statuswith "Unshipped". - Dropped rows with missing city/state locations.
- Dropped the empty
- Data Type Conversion:
- Converted the
Datecolumn to datetime format to extract monthly trends.
- Converted the
- Top Month: April was the highest-performing month with ~28.8 Million in revenue, followed by May (~26.2M) and June (~23.4M).
- March Anomaly: March shows significantly lower data points (171 orders), likely indicating partial data availability for that month.
- Top Categories: "Set" and "Kurta" are the dominant categories, accounting for the vast majority of orders.
- Revenue Drivers: The "Set" category generates the highest revenue (~39M), followed by "Kurta" (~21M) and "Western Dress" (~11M).
- Size Preferences: M, L, and XL are the most popular sizes among customers.
- Fulfillment Authority: Amazon fulfills significantly more orders (approx. 70%) compared to Merchant fulfillment.
- Service Level: The majority of orders use Expedited shipping (~88k orders) over Standard shipping (~40k orders).
- Top States: The highest number of orders originate from Maharashtra and Karnataka, followed by Telangana and Uttar Pradesh.
- B2B vs B2C: The platform is overwhelmingly B2C (Business to Consumer), with B2B transactions making up less than 1% of the total orders.
- Visualization: Integrate
MatplotliborSeabornto visualize sales trends and geographic heatmaps. - Code Optimization: Refactor the monthly analysis sections into reusable functions to reduce code repetition.
- Statistical Modeling: Implement forecasting to predict sales for future months.
- Clone the repository.
- Install the required libraries:
pip install pandas
- Load the
Amazon Sale Report.csvfile into the project directory. - Run the
main.ipynb(orAmazon_Sales_EDA.ipynb) file.