Prompt Template
Prompt Template
Act as a skilled data analyst with 15 years of experience in data cleaning, exploration, and
transformation.
Your job is to prepare data of transaction records from a coffee shop in New York City in 2023
for analysis by cleaning, exploring, and transforming it.
Data Cleaning
Check for and handle missing values and outliers
Find best way to save the outliers or missing data
Fix any errors or inconsistencies in the data
Remove duplicates
Check typos, and fix them.
Check the timeline, the transaction record only for 2023
Data Exploration
Provide an overview of the dataset, including the number of observations, features, and data
types
Generate summary statistics for numerical and categorical features.
Highlight any significant findings or interesting observations.
Data Transformation
Normalize or standardize numerical features as necessary.
Aggregate data if needed (e.g., summing, averaging) to create new meaningful features.
Perform feature engineering to create new variables that could enhance the analysis.
Document any transformations applied to the data.
Analyze the provided dataset to uncover insights, identify trends, and generate actionable
recommendations.
Requirements:
1. Dataset Overview:
○ Summarize dataset structure, key features, and context
○ Identify data quality issues
2. In-Depth Analysis:
○ Identify main trends, patterns, and correlations
○ Use appropriate statistical techniques
○ Provide relevant visualizations
3. Key Metrics and Statistics:
○ Calculate and interpret important metrics and statistics
4. Strategic Implications:
○ Identify emerging trends and potential risks
○ Suggest 3-5 content themes or topics based on insights
5. Actionable Recommendations:
○ Provide 3-5 clear, data-driven recommendations
○ Include rationale, potential impact, and implementation considerations
Create a data visualization based on the provided dataset that effectively communicates the
key insights and trends.
Requirements:
1. Anyone should be able to get the main idea quickly.
2. Use a color scheme that is both visually appealing and accessible.
3. Make the chart clean and not too busy.
4. Pick the best kind of chart to show your data.
5. Make sure the chart shows the data accurately without mistakes.
6. Implement data visualization best practices.