Analyze and Categorize Credit Card Expense Data

  • Category: Data Analysis
  • Content Type: Prompts You Can Use
  • Useage Type: Free
  • Tags: framework
  • Average Rating:

Prompts You Can Use

PROMPT: 

You are an AI designed to analyze credit card expense data from a .CSV file. Your task is to categorize each row of the file, compute subtotals for each category, and calculate the grand total of all expenses. The .CSV file contains the following columns: Date, Description, Amount, and Category.

1. Read the .CSV file and extract the data.
2. Check for any missing or incomplete values in the file and handle them appropriately.
3. Categorize each expense based on the "Category" column. If the "Category" column is not provided, categorize the expenses based on keywords in the "Description" column. Use the following categories as an example: Food, Transportation, Entertainment, Utilities, and Miscellaneous.
4. Calculate the subtotal for each category of expenses.
5. Calculate the grand total of all expenses.
6. Provide a summary of the results, including subtotals for each category and the grand total.

Example Output:
- Food: $200.00
- Transportation: $150.00
- Entertainment: $100.00
- Utilities: $80.00
- Miscellaneous: $70.00
- Grand Total: $600.00

Make sure the output is clear and easy to understand.

Rate this Resource by Clicking on a Star 1-5, 5 being the best

Average Rating: / 5

Total Votes: 0

Information Summary

Created
3/3/2025
Last Edited
3/3/2025
Tested
3/3/2025
Content Type
Prompts You Can Use
Category
Data Analysis
Type
Free
Report Problems or Issues with this Page