You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A comprehensive retail analytics project exploring 4 years of US superstore transaction data — uncovering profitability drivers, discount pitfalls, regional trends, and customer behaviour patterns.
📁 Dataset Overview
Attribute
Detail
File
Updated_supermart.csv
Rows
9,994 transactions
Columns
26 features
Time Period
2014 – 2017 (4 years)
Geography
United States — 49 states, 531 cities
Unique Orders
5,009
Unique Customers
793
Unique Products
1,862
🗂️ Column Reference
Column
Type
Description
Row ID
Integer
Unique row identifier
OrderID
String
Order identifier (one order can have multiple line items)
OrderDate
String (DD-MM-YYYY)
Date the order was placed
ShipDate
String (DD-MM-YYYY)
Date the order was shipped
ShipMode
Categorical
Shipping method: Same Day / First Class / Second Class / Standard Class
CustomerID
String
Unique customer identifier
CustomerName
String
Customer full name
Segment
Categorical
Customer segment: Consumer / Corporate / Home Office
All records are from the United States — no international orders.
The Unnamed: 0 column is an auto-generated index from the export and can be safely dropped during analysis.
Negative profit values are real and expected — they represent heavily discounted or returned orders.
PostalCode is stored as an integer; leading zeros (common in New England ZIP codes) may be missing and should be zero-padded as strings for geographic mapping.
OrderDate and ShipDate are in DD-MM-YYYY format — parse with dayfirst=True in pandas.
Each row is a line item, not a full order. Aggregate by OrderID for order-level analysis.
🤝 Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you'd like to change.
📄 License
This project is for analytical and educational purposes. Dataset is based on publicly available Superstore sample data.