Spending Habits By Category And Item
Spending Habits with Category and Item set
@kaggle.ahmedmohamed2003_spending_habits
Spending Habits with Category and Item set
@kaggle.ahmedmohamed2003_spending_habits
The Spending Patterns Dataset provides a synthetic representation of consumer spending behavior across various categories. This dataset is ideal for exploratory data analysis, statistical modeling, and machine learning applications related to financial forecasting, customer segmentation, or consumer behavior analysis.
The dataset contains 10,000 transactions for 200 unique customers. Each transaction is associated with detailed information, including category, item, quantity, price, payment method, and transaction date.
| Column Name | Description |
|---|---|
Customer ID |
Unique identifier for each customer (e.g., CUST_0001). |
Category |
The spending category (e.g., Groceries, Shopping, Travel). |
Item |
The specific item purchased within the category (e.g., Milk, Plane Ticket). |
Quantity |
Number of units purchased. For specific categories (e.g., Subscriptions, Housing and Utilities, Transportation, Medical/Dental, Travel), this is always 1. |
Price Per Unit |
The price of one unit of the item (in USD). |
Total Spent |
Total expenditure for the transaction (Quantity × Price Per Unit). |
Payment Method |
The payment method used (e.g., Credit Card, Cash). |
Location |
Where the transaction occurred (e.g., Online, In-store, Mobile App). |
Transaction Date |
The date of the transaction (YYYY-MM-DD format). |
The dataset includes the following spending categories with example items:
CREATE TABLE spending_patterns_detailed (
"customer_id" VARCHAR,
"category" VARCHAR,
"item" VARCHAR,
"quantity" BIGINT,
"price_per_unit" DOUBLE,
"total_spent" DOUBLE,
"payment_method" VARCHAR,
"location" VARCHAR,
"transaction_date" TIMESTAMP
);Anyone who has the link will be able to view this.