Question: Project 2 : Analyzing Sales Data for a Retail Business. 1 Background You are working as a data analyst for ABC Retail, a small but
Project : Analyzing Sales Data for a Retail Business.
Background
You are working as a data analyst for ABC Retail, a small but growing retail business that sells electronics, home appliances, and furniture both online and instore. The management team is looking for insights into their sales performance over the past year and has asked you to analyze their sales data. The dataset includes information such as product categories, sales volume, prices, regions, and dates of sales transactions. Your task is to help ABC Retail make better business decisions by performing data analysis using basic Python operations, such as list manipulation, loops, and arithmetic calculations.
Learning Outcomes
By completing this project you will be able to:
Use lists to store and manipulate data in Python.
Perform basic data analysis using loops and arithmetic operations to calculate totals and averages.
Organize and interpret business dta using simple list operations without functions or advanced libraries
Analyze sales trends and performance using Python's builtin features to inform business decisions.
Dataset
Here is the sales data for ABC Retail, presented in a table format price is given in $:
tabledateregion,product,category,unitsold,priceNorth,Laptop,Electronics,East,Vacuum,Appliances,South,Sofa,Furniture,West,Headphones,Electronics,North,Microwave,Appliances,South,TVElectronics,East,Table,Furniture,
Your Tasks
Calculate Total Revenue: To calculate the total revenue for all sales, multiply the units sold by the corresponding prices for each product. Sum the results to get the total revenue.
Revenue Units Sold Price per Unit
You'll need to loop through the units sold and prices lists and compute the total revenue.
Find Top Categories by Revenue: To identify which product categories generated the most revenue, first calculate the revenue for each transaction as done in the previous task Then, manually group the revenues by product category eg sum all the revenues for products in the "Electronics" category
List the total revenues for each category and rank them to find the top categories by revenue.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
