Practical Assignment ( Data Analytics )
Practical Assignment ( Data Analytics )
Practical File
Content
Introduction……………………………………………….3
Objectives………………………………………………….4
Steps of Implementation…………………………………….5
Key Code Snippets…………………………………………11
Conclusion……………………………………………………12
References……………………………………………………13
Introduction
The dataset used in this investigation includes detailed sales
transaction data from an e-commerce platform. It contains 2,823
records with 25 attributes that capture critical information such
as order details, client information, product categories, and sales
figures.
Objective
The purpose of this assignment is to analyze sales data from an
e-commerce platform to uncover key insights. Using Python, the
dataset was cleaned, analyzed, and visualized to ensure data
quality and reveal trends, outliers, and revenue-driving factors.
The dataset contained columns such as order details, customer
and product information, and sales figures.
Steps of Implementation
1) Data Cleaning:
Missing values in STATE and TERRITORY were replaced
with "Unknown."
Empty ADDRESSLINE2 fields were filled with blank
strings.
Missing POSTALCODE values were standardized as
"00000."
Converted ORDERDATE to datetime format to enable date-
based analysis.
b) Line Chart:
Yearly sales
trends showed performance over time, peaking in 2004.
c) Histograms:
Analyzed sales distribution and identified frequent order ranges.
5) Key Insights
Revenue Drivers:
o Classic Cars and Vintage Cars are the primary revenue-
generating product lines.
Customer Preferences:
o Medium-sized deals contribute the majority of revenue.
Trends Over Time:
o Sales growth peaked in 2004 but showed a decline in
2005, indicating potential operational or market
challenges.
Key Code Snippets
Conclusion
The analysis of the e-commerce sales data revealed key insights
critical to understanding revenue drivers, customer behaviour,
and performance trends over time. Classic Cars and Vintage
Cars emerged as the primary contributors to overall revenue,
showcasing their dominance in customer preferences. The
prevalence of medium-sized deals highlights a balanced
approach between value and volume, suggesting these deals as a
sweet spot for maximizing revenue. A temporal analysis revealed
that 2004 was the peak sales year, indicating operational
efficiency or favourable market conditions during that period.
However, the subsequent decline in 2005 raises concerns about
potential challenges such as market saturation, reduced demand,
or inefficiencies. These insights underscore the importance of
strategic planning and targeted efforts to sustain and grow
revenue streams in underperforming years.
SalesDataSet