Update app.py
Browse files
app.py
CHANGED
|
@@ -118,6 +118,9 @@ def analyze_data(csv_file, additional_notes=""):
|
|
| 118 |
agent = CodeAgent(tools=[], model=model, additional_authorized_imports=["numpy", "pandas", "matplotlib.pyplot", "seaborn", "sklearn", "json"])
|
| 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.
|
|
|
|
| 118 |
agent = CodeAgent(tools=[], model=model, additional_authorized_imports=["numpy", "pandas", "matplotlib.pyplot", "seaborn", "sklearn", "json"])
|
| 119 |
analysis_result = agent.run("""
|
| 120 |
You are an expert data analyst. Perform comprehensive analysis including:
|
| 121 |
+
Load the data that is passed.do not create your own.
|
| 122 |
+
Automatically detect numeric columns and names.
|
| 123 |
+
Compute basic statistics (count, mean, std, min, 25%, 50%, 75%, max) for each numeric column.
|
| 124 |
1. Basic statistics and data quality checks
|
| 125 |
2. Visualization of key patterns and correlations
|
| 126 |
3. Actionable real-world insights derived from findings.
|