Update app.py
Browse files
app.py
CHANGED
|
@@ -119,12 +119,11 @@ def analyze_data(csv_file, additional_notes=""):
|
|
| 119 |
analysis_result = agent.run("""
|
| 120 |
You are an expert data analyst. Perform comprehensive analysis including:
|
| 121 |
1. Basic statistics and data quality checks
|
| 122 |
-
2.
|
| 123 |
-
3.
|
| 124 |
-
4.
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
You are a helpful data analysis agent. ONLY return valid Python code.
|
| 128 |
Do not include explanations, comments, or any non-code text.
|
| 129 |
Do not use 'open()' or write to files. Just return variables and plots.
|
| 130 |
The dictionary should have the following structure:
|
|
|
|
| 119 |
analysis_result = agent.run("""
|
| 120 |
You are an expert data analyst. Perform comprehensive analysis including:
|
| 121 |
1. Basic statistics and data quality checks
|
| 122 |
+
2. Visualization of key patterns and correlations
|
| 123 |
+
3. Actionable real-world insights derived from findings.
|
| 124 |
+
4. Don't write to any files. Just return all results in the interface.
|
| 125 |
+
5. Generate publication-quality visualizations and save to './figures/'.
|
| 126 |
+
You are a helpful data analysis agent. Just return insight information and visualization.
|
|
|
|
| 127 |
Do not include explanations, comments, or any non-code text.
|
| 128 |
Do not use 'open()' or write to files. Just return variables and plots.
|
| 129 |
The dictionary should have the following structure:
|