Finding 1 · Category
A 2.5% margin against 17% for everything else
Furniture brings in $742K, 32% of all sales, but only 6% of profit. Technology and Office Supplies earn margins of 17.4% and 17.0%. The next step was to look inside Furniture.
category = df.groupby("Category").agg( Sales=("Sales", "sum"), Profit=("Profit", "sum") ) category["Margin %"] = category["Profit"] / category["Sales"] * 100
- 2.5%Furniture profit margin
- ~17%Margin on Technology and Office Supplies