Tips & Examples
Tips & Examples
Get the most out of Deep Data Agent with these practical tips and real-world examples.
Effective Prompting
Be Specific
Instead of:
“Analyze the data”
Try:
“Calculate the month-over-month growth rate for each product category and highlight any categories with negative growth”
Provide Context
Instead of:
“Show me the top customers”
Try:
“Show me the top 10 customers by total order value in 2024, including their email and number of orders”
Request Specific Formats
Instead of:
“Show sales data”
Try:
“Create a bar chart showing quarterly sales by region, with values in millions”
Example Workflows
Sales Analysis
1. "Load the sales_2024.csv file and show me a summary"
2. "What's the total revenue by region?"
3. "Show that as a bar chart with the highest region highlighted"
4. "Which products are underperforming compared to last year?"
5. "Create a report with the top insights and export as PDF"Customer Segmentation
1. "Connect to the customers database"
2. "How many customers do we have by signup year?"
3. "Segment customers by total purchase value: high (>$1000), medium ($100-1000), low (<$100)"
4. "What's the average order frequency for each segment?"
5. "Create a visualization showing segment distribution"Data Cleaning Pipeline
1. "Load raw_data.csv and show me data quality issues"
2. "How many rows have missing values in each column?"
3. "Fill missing numeric values with the column median"
4. "Remove duplicate rows based on customer_id and order_date"
5. "Export the cleaned data as cleaned_data.parquet"Code Mode Examples
Data Exploration
Show me the first 10 rows and data types for orders.csvWhat's the correlation between price and quantity?Find outliers in the revenue column using IQR methodVisualization
Create a scatter plot of orders by date, colored by statusBuild a dashboard with:
- Monthly revenue trend
- Top 10 products pie chart
- Orders by region heatmapShow me a box plot of order values grouped by customer segmentData Transformation
Create a pivot table: rows=region, columns=quarter, values=sum of revenueAdd a column for days_since_last_order for each customerNormalize the price column to a 0-100 scaleSQL Mode Examples
Basic Queries
How many orders were placed last month?What's our best-selling product by quantity?Show customers who haven't ordered in 90 daysComplex Analysis
Calculate the 7-day moving average of daily revenueFind customers whose order value increased by more than 50% year-over-yearWhat's the customer lifetime value distribution by acquisition channel?Joins and Aggregations
Show me product performance with category names and supplier infoRank regions by both revenue and order countCompare this month's performance to the same month last yearCommon Patterns
Iterative Analysis
Start broad, then narrow down:
- “Show me an overview of the data”
- “Focus on the revenue trends”
- “Break it down by region”
- “Why is the West region declining?”
Comparative Analysis
Compare sales performance:
- This year vs last year
- By region
- Show percentage changeTime Series
Show monthly trends for the past 12 months with:
- Actual values
- 3-month moving average
- Year-over-year comparisonCohort Analysis
Group customers by signup month and show:
- Retention rate by month
- Average order value over time
- Cumulative revenuePro Tips
1. Use Variables
Reference previous results:
Using that filtered data, calculate the average2. Chain Operations
Build on previous work:
Now exclude the outliers and recalculate3. Ask for Explanations
Understand the approach:
Explain your methodology for this analysis4. Request Alternatives
Get multiple perspectives:
Show me two different ways to visualize this5. Save Your Work
Export for later:
Save this analysis as a Python script I can reuseTroubleshooting Examples
When Results Look Wrong
That doesn't look right. Show me the SQL/code you usedI think you're missing the WHERE clause for active customers onlyWhen You Need More Detail
Break that down by month instead of quarterShow me the individual records, not just the aggregateWhen Analysis Is Too Slow
Use a sample of 10,000 rows for this explorationCan you optimize that query? It's taking too long